Command Reference

Your comprehensive library of CLI commands with examples, options, and best practices.

🔥 Most Popular

1
ls -la

List all files with details

12.4k views
2
grep -r "pattern" .

Recursive search

9.8k views
3
find . -name "*.js"

Find files by name

8.2k views
4
chmod 755 script.sh

Make file executable

7.5k views
5
tar -xzf file.tar.gz

Extract archive

6.9k views

Browse by Category

📝

Text Processing

(8 commands)
grep

Search text using patterns

sed

Stream editor for text transformation

awk

Pattern scanning and processing

cut

Remove sections from lines

sort

Sort lines of text

uniq

Report or filter repeated lines

tr

Translate or delete characters

wc

Word, line, and byte count

📁

File Management

(8 commands)
ls

List directory contents

cp

Copy files and directories

mv

Move or rename files

rm

Remove files or directories

mkdir

Create directories

find

Search for files in directories

chmod

Change file permissions

chown

Change file ownership

📦

Compression & Archives

(6 commands)
tar

Archive files

gzip

Compress files

zip

Package and compress files

unzip

Extract compressed files

bzip2

Block-sorting file compressor

xz

Compress files using LZMA

🌐

Networking

(8 commands)
curl

Transfer data with URLs

wget

Download files from web

ssh

Secure shell remote login

scp

Secure copy over network

ping

Test network connectivity

netstat

Network statistics

dig

DNS lookup utility

nc

Netcat networking utility

⚙️

System Administration

(8 commands)
ps

Report process status

top

Display running processes

kill

Terminate processes

df

Disk space usage

du

Estimate file space usage

free

Memory usage info

systemctl

Control system services

journalctl

Query system journal

👤

User & Permissions

(6 commands)
sudo

Execute as superuser

su

Switch user

whoami

Print current user

id

Print user and group IDs

useradd

Create new user

passwd

Change user password

Can't Find a Command?

Let us know and we'll add it to our reference library.

Request a Command