Online Toolbox/Developer/Linux Commands

Linux Commands

Look up Linux commands.

Linux Command Reference

ls
List directory contents
ls -la /home
cd
Change directory
cd /path/to/dir
cp
Copy files
cp -r src dest
mv
Move/rename files
mv old new
rm
Remove files
rm -rf file
mkdir
Create directories
mkdir -p /path/dir
cat
View file contents
cat file.txt
grep
Search text
grep -r "pattern" dir
find
Find files
find / -name "*.log"
chmod
Change permissions
chmod 755 file
chown
Change owner
chown user:group file
tar
Archive files
tar -czf a.tar.gz dir
top
View processes
top
df
Disk usage
df -h
du
Directory size
du -sh dir
ps
List processes
ps aux
kill
Terminate process
kill -9 PID
wget
Download files
wget url
curl
HTTP requests
curl -O url
ssh
Remote connection
ssh user@host

Description

Command Line Cheatsheet provides quick reference for common commands across Linux, macOS, and Windows, helping developers find syntax fast.

Use Cases

1

Development: Quick command reference while coding

2

System admin: Look up server management commands

3

DevOps: Find deployment and container commands

4

Learning: Discover new command-line tools

5

Troubleshooting: Find diagnostic commands quickly

Instructions

1

Select the operating system tab

2

Browse categories or search for commands

3

Click a command to see detailed usage

4

Copy commands with one click

5

Bookmark frequently used commands

Notes

  • Commands may differ between operating systems
  • Some commands require administrator/root privileges
  • Pipe commands together for powerful workflows
  • Check man pages for complete documentation

FAQ

Q

Why do commands differ between OS?

A

Linux, macOS, and Windows use different shells and command sets. Some commands are universal while others are platform-specific.

Q

Can I contribute new commands?

A

The cheatsheet is built-in. Suggestions can be submitted through the contact page.