Linux Commands Reference Guide

A complete categorized reference of Linux commands, file operations, and system utilities for efficient terminal-based workflows

File & Directory Management

CommandDescriptionExample
lsLists files and directories.ls -l /home/user
cdChanges current directory.cd /var/log
pwdDisplays current working directory.pwd
mkdirCreates a new directory.mkdir new_folder
rmRemoves files or directories.rm file.txt
cpCopies files or directories.cp file.txt /backup/
mvMoves or renames files/directories.mv file.txt newfile.txt

Process & System Management

CommandDescriptionExample
topDisplays running processes and resource usage.top
psShows process status.ps aux | grep python
killTerminates processes by PID.kill 1234
dfShows disk usage of file systems.df -h
duDisplays disk usage of files/directories.du -sh /home/user
uptimeShows system uptime and load.uptime
freeDisplays memory usage.free -h

Networking Commands

CommandDescriptionExample
pingTests connectivity to a host.ping google.com
ifconfigDisplays network interface configuration.ifconfig
netstatShows network connections and routing tables.netstat -tuln
sshConnects to a remote system via SSH.ssh user@server
scpCopies files over SSH.scp file.txt user@server:/home/user

Package Management

CommandDescriptionExample
aptPackage management for Debian/Ubuntu.sudo apt update && sudo apt install vim
yumPackage management for CentOS/RHEL.sudo yum install nano
dpkgInstalls or queries Debian packages.dpkg -i package.deb
rpmInstalls or queries RPM packages.rpm -ivh package.rpm

About Linux Commands Reference Guide

This Linux commands and utilities reference is a comprehensive, categorized guide for efficiently working in Linux terminal environments, system administration, file management, networking, and package management. It is ideal for beginners, developers, sysadmins, and IT professionals who want to quickly learn and apply essential Linux commands to perform tasks accurately and efficiently.


Applications


By using these commands effectively, you can:


Mastering Linux terminal commands and utilities improves workflow, automates repetitive tasks, and ensures precise system administration across environments.