Linux Server Basics Commands

A Guide for Beginners

Navigation

cd: Change directory. ls: List files and directories. pwd: Print the current working directory.

File Operations

cp: Copy files or directories. mv: Move or rename files or directories. rm: Remove files or directories. touch: Create an empty file.

Directory Operations

mkdir: Create a new directory. rmdir: Remove an empty directory. rm -r: Remove a directory and its contents                recursively.

File Permission and Ownership

chmod: Change file permissions. chown: Change file owner. chgrp: Change file group.

System Information

uname -a: Display system information. df -h: Show disk space usage. free -m: Display free and used memory.

Explore The Best Linux Hosting Companies You Can Trust

Arrow