Linux Basics Commands
Linux Basics Commands
Beginners
A simple guide to get started with
Linux.
File and Directory Commands
• - `ls` - List files
• - `pwd` - Show current directory
• - `cd` - Change directory
• - `mkdir` - Create a folder
• - `rmdir` - Remove an empty folder
• - `touch` - Create an empty file
• - `rm` - Delete files or folders
• - `cp` - Copy files or folders
• - `mv` - Move or rename files
System Commands
• - `whoami` - Show current user
• - `hostname` - Show system name
• - `uname` - Show system info
• - `df` - Show disk usage
• - `du` - Show folder size
• - `top` - See running processes
• - `ps` - List processes
• - `kill` - Stop a process
Permissions and Ownership
• - `chmod` - Change permissions
• - `chown` - Change owner
Networking Commands
• - `ping` - Test connection
• - `ip a` - Show network settings
• - `wget` - Download files
• - `curl` - Fetch URL content
Miscellaneous Commands
• - `clear` - Clear screen
• - `history` - Show command history
• - `man` - Help for commands
• - `echo` - Print text
• - `exit` - Logout