Linux Command Dictionary

Search by keyword or category to quickly find command usage and examples.

Linux Command Dictionary

Commands

Tip: Use a modern browser for the best experience.

18 results
Files & Directories

ls -lah /var/log

List files in human-readable format with details.

$ ls -lah /var/log
Files & Directories

find /var/log -type f -name "*.log"

Recursively find files by name pattern.

$ find /var/log -type f -name "*.log"
Files & Directories

grep -rin "error" /var/log

Search keyword in file contents with line numbers.

$ grep -rin "error" /var/log
Archive/Compress

tar -czf logs.tar.gz /var/log/nginx

Archive and compress a directory into tar.gz.

$ tar -czf logs.tar.gz /var/log/nginx
Archive/Compress

unzip archive.zip -d output/

Extract a zip file to a target folder.

$ unzip archive.zip -d output/
Permissions

chmod +x run.sh

Change file mode, add execute permission.

$ chmod +x run.sh
Permissions

sudo chown -R www-data:www-data /var/www/app

Recursively change file owner and group.

$ sudo chown -R www-data:www-data /var/www/app
Processes & Services

sudo systemctl status nginx

Check status of a systemd service.

$ sudo systemctl status nginx
Processes & Services

sudo journalctl -u nginx -n 50

View recent logs for a specific service.

$ sudo journalctl -u nginx -n 50
Processes & Services

ps aux | grep nginx

List processes and filter by keyword.

$ ps aux | grep nginx
Processes & Services

kill -9 $(pgrep nginx)

Force kill processes matching the keyword.

$ kill -9 $(pgrep nginx)
Disk & Resources

df -h

Show disk usage by filesystem (human-readable).

$ df -h
Disk & Resources

du -sh *

Summarize size of items in the current directory.

$ du -sh *
Network

ping -c 4 example.com

Test network connectivity and latency.

$ ping -c 4 example.com
Network

curl -I https://example.com

Fetch only HTTP response headers to check availability.

$ curl -I https://example.com
Network

scp ./file.txt user@server:/home/user/

Securely copy files to a remote host over SSH.

$ scp ./file.txt user@server:/home/user/
Network

ssh user@server

Log in to a remote host via SSH.

$ ssh user@server
System & Users

sudo useradd -m deploy && sudo passwd deploy

Create a new user and set password; -m creates the home directory.

$ sudo useradd -m deploy && sudo passwd deploy
About

A quick Linux command dictionary with keyword/category search, short descriptions, and ready-to-copy examples.

How to use

  1. Select a category or type a keyword (command/function/description) to filter.
  2. Click “Copy” on a result to copy the example command.
  3. Prompts like “$” are for clarity only; remove them when running the command.
Linux Command Dictionary - Quick Search by Keyword/Category