Linux Commands Overview


Linux Commands Master List

Explore essential Linux commands organized by category, with links to detailed guides.

Basic

pwd

Prints the current working directory.

whoami

Displays the current user’s username.

clear

Clears the terminal screen.

date

Shows or sets the system date and time.

cal

Displays a calendar.

File & Directory

ls

Lists directory contents.

cd

Changes the current directory.

mkdir

Creates a new directory.

touch

Creates an empty file or updates timestamps.

rm

Removes files or directories.

File Viewing & Editing

cat

Displays file contents.

less

Views file contents with pagination.

head

Shows the first few lines of a file.

tail

Shows the last few lines of a file.

nano

Edits files in a simple text editor.

Permissions & Ownership

chmod

Changes file permissions.

chown

Changes file ownership.

ls -l

Lists files with detailed permissions.

umask

Sets default permissions for new files.

stat

Displays detailed file information.

Networking

ping

Checks network connectivity.

ifconfig

Configures network interfaces.

netstat

Displays network connections.

curl

Transfers data from URLs.

wget

Downloads files from the web.

System & Process

top

Monitors system processes in real-time.

ps aux

Lists all running processes.

kill

Terminates processes by ID.

df -h

Shows disk usage in human-readable format.

free -h

Displays memory usage.


Scroll to Top