Linux Commands List - Summary
Linux Commands List is a reference sheet of bash shell commands and terminal utilities used across Linux operating system distributions like Ubuntu, Debian, Red Hat, and Fedora. Systems administrators, software engineers, and students use these commands to navigate file systems, manage system processes, configure network sockets, and adjust file permissions.
Linux operates on a modular command structure where short executable programs accept flags, arguments, and redirected pipes. Standard utilities handle basic file manipulation, disk capacity checks, memory tracking, and user privilege controls. Learners can also review related technical references like computer shortcuts keys A to Z and the AutoCAD commands list to improve their technical productivity.
Basic Linux Commands List
The table below lists the most frequently used Linux terminal commands, syntax examples, and functional descriptions:
| Command | Syntax / Example | Function |
|---|---|---|
| pwd | pwd | Prints the absolute path of the current working directory. |
| ls | ls -la | Lists all directory contents, including hidden files, permissions, and sizes. |
| cd | cd /var/log | Changes the current terminal directory to the specified folder path. |
| mkdir | mkdir -p project/src | Creates new directories, including intermediate parent folders. |
| cp | cp file1.txt file2.txt | Copies files or directories from a source location to a destination. |
| mv | mv oldname.txt newname.txt | Moves files across directories or renames existing files. |
| rm | rm -rf directory_name | Deletes specified files or recursively deletes non-empty directories. |
| touch | touch filename.txt | Creates an empty file or updates the access timestamp of an existing file. |
| cat | cat file.txt | Reads and outputs the entire content of a file to the terminal screen. |
| grep | grep “error” syslog | Searches for specific text patterns or regular expressions inside files. |
| find | find . -name “*.log” | Searches directory trees for files matching specified names or file types. |
| head / tail | tail -n 20 app.log | Displays the beginning or ending lines of a file, with -f for live stream logs. |
| chmod | chmod 755 script.sh | Changes file and folder permissions for owner, group, and other users. |
| chown | chown user:group file.txt | Changes the user and group ownership of files and directories. |
| sudo | sudo apt update | Executes commands with administrative superuser root privileges. |
| df | df -h | Reports disk space usage for all mounted partitions in human-readable format. |
| free | free -m | Displays free, used, and swap memory statistics in megabytes. |
| top | top | Provides a dynamic real-time view of running processes, CPU, and RAM load. |
| ps | ps aux | Captures a snapshot of all active system processes with Process IDs (PIDs). |
| kill | kill -9 1234 | Sends a termination signal to stop a running process using its Process ID. |
Official documentation and manual archives
Complete GNU utility guidelines, POSIX command references, and package manuals are available on the Linux kernel documentation portal kernel.org and the GNU operating system portal gnu.org.