sudo !!
May affect permissions or system state. Check the target first.
Linux command index
A searchable Linux command library organized for quick lookup.
Open category or command pages. Search results appear directly below the tabs.
sudo !!
May affect permissions or system state. Check the target first.
python3 -m http.server 8000
Copy it and replace filenames, paths, or keywords as needed.
telnet towel.blinkenlights.nl
Requires network or a remote resource.
mplayer -vo caca video.mp4
Copy it and replace filenames, paths, or keywords as needed.
screenfetch or neofetch
Copy it and replace filenames, paths, or keywords as needed.
fortune | cowsay
Uses pipes, overwrite, or deletion. Check paths and options first.
echo "text" | pv -qL 10
Uses pipes, overwrite, or deletion. Check paths and options first.
cmatrix
Copy it and replace filenames, paths, or keywords as needed.
mkdir project{01..100}
Copy it and replace filenames, paths, or keywords as needed.
cd -
Copy it and replace filenames, paths, or keywords as needed.
cp file{,.bak}
Copy it and replace filenames, paths, or keywords as needed.
^wrong^correct^
Copy it and replace filenames, paths, or keywords as needed.
curl ifconfig.me
Requires network or a remote resource.
!!
Copy it and replace filenames, paths, or keywords as needed.
Ctrl+X Ctrl+E
Copy it and replace filenames, paths, or keywords as needed.
jq .
Copy it and replace filenames, paths, or keywords as needed.
du -h . | sort -hr | head -20
Uses pipes, overwrite, or deletion. Check paths and options first.
df -h
Copy it and replace filenames, paths, or keywords as needed.
du -sh * | sort -hr
Uses pipes, overwrite, or deletion. Check paths and options first.
tar czf backup.tar.gz directory/
Copy it and replace filenames, paths, or keywords as needed.
tar xzf archive.tar.gz
Copy it and replace filenames, paths, or keywords as needed.
watch command
Copy it and replace filenames, paths, or keywords as needed.
pkill process_name
May affect permissions or system state. Check the target first.
top
Copy it and replace filenames, paths, or keywords as needed.
ss -tuln
Copy it and replace filenames, paths, or keywords as needed.
< /dev/urandom tr -dc A-Za-z0-9 | head -c 32; echo
Uses pipes, overwrite, or deletion. Check paths and options first.
Ctrl+R
Copy it and replace filenames, paths, or keywords as needed.
wc -l file.txt
Copy it and replace filenames, paths, or keywords as needed.
sort file | uniq
Uses pipes, overwrite, or deletion. Check paths and options first.
find . -iname "*.log"
Copy it and replace filenames, paths, or keywords as needed.
find . -type f -size +100M
Copy it and replace filenames, paths, or keywords as needed.
rsync -ah --progress src dest
Requires network or a remote resource.
wget -c url
Requires network or a remote resource.
sshfs user@host:/remote /local
Requires network or a remote resource.
command -v cmd >/dev/null && echo yes
Uses pipes, overwrite, or deletion. Check paths and options first.
ls -lt
Copy it and replace filenames, paths, or keywords as needed.
grep -ir "text" .
Copy it and replace filenames, paths, or keywords as needed.
> file.txt
Uses pipes, overwrite, or deletion. Check paths and options first.
mkdir dir && cd dir
Uses pipes, overwrite, or deletion. Check paths and options first.
tar cjf archive.tar.bz2 dir/
Copy it and replace filenames, paths, or keywords as needed.
curl wttr.in
Requires network or a remote resource.
curl v2.wttr.in
Requires network or a remote resource.
xmllint --format file.xml
Copy it and replace filenames, paths, or keywords as needed.
convert input.jpg output.png
Copy it and replace filenames, paths, or keywords as needed.
convert -delay 10 -loop 0 *.png animation.gif
Copy it and replace filenames, paths, or keywords as needed.
sl
Copy it and replace filenames, paths, or keywords as needed.
neofetch
Copy it and replace filenames, paths, or keywords as needed.
tail -f logfile
Copy it and replace filenames, paths, or keywords as needed.
sed -i 's/old/new/g' *.txt
Copy it and replace filenames, paths, or keywords as needed.
ls -d */
Copy it and replace filenames, paths, or keywords as needed.
tree
Copy it and replace filenames, paths, or keywords as needed.
command | xclip -sel clip
Uses pipes, overwrite, or deletion. Check paths and options first.
ln -s target link
Copy it and replace filenames, paths, or keywords as needed.
git branch --show-current
Copy it and replace filenames, paths, or keywords as needed.
find . -mtime +30 -delete
Copy it and replace filenames, paths, or keywords as needed.
find . -type d -empty -delete
Copy it and replace filenames, paths, or keywords as needed.
cal
Copy it and replace filenames, paths, or keywords as needed.
cal -3
Copy it and replace filenames, paths, or keywords as needed.
qrencode -t ANSI "text"
Copy it and replace filenames, paths, or keywords as needed.
script session.log
Copy it and replace filenames, paths, or keywords as needed.
scriptreplay -t timing.log session.log
Copy it and replace filenames, paths, or keywords as needed.
upower -i $(upower -e | grep BAT) | grep percentage
Uses pipes, overwrite, or deletion. Check paths and options first.
sensors
Copy it and replace filenames, paths, or keywords as needed.
crontab -l
Copy it and replace filenames, paths, or keywords as needed.
gpg -c file
May affect permissions or system state. Check the target first.
mount -t tmpfs -o size=1G tmpfs /mnt/ram
May affect permissions or system state. Check the target first.
command &
Uses pipes, overwrite, or deletion. Check paths and options first.
nohup command &
Uses pipes, overwrite, or deletion. Check paths and options first.
split -b 1G largefile part-
Copy it and replace filenames, paths, or keywords as needed.
cat part-* > largefile
Uses pipes, overwrite, or deletion. Check paths and options first.
sha256sum file
Copy it and replace filenames, paths, or keywords as needed.
yt-dlp url
Requires network or a remote resource.
mpv url
Requires network or a remote resource.
nl file.txt
Copy it and replace filenames, paths, or keywords as needed.
dos2unix file
Copy it and replace filenames, paths, or keywords as needed.
source ~/.bashrc
Copy it and replace filenames, paths, or keywords as needed.
uptime
Copy it and replace filenames, paths, or keywords as needed.
command | pv -s $(du -b input | cut -f1)
Uses pipes, overwrite, or deletion. Check paths and options first.
pdftotext file.pdf - | less
Uses pipes, overwrite, or deletion. Check paths and options first.
dd if=iso.iso of=/dev/sdX bs=4M status=progress
May affect permissions or system state. Check the target first.
dd if=/dev/urandom of=/dev/sdX
May affect permissions or system state. Check the target first.
lshw -short
Copy it and replace filenames, paths, or keywords as needed.
dd if=/dev/zero of=test bs=1G count=1 oflag=dsync
May affect permissions or system state. Check the target first.
echo -e "\a"
Copy it and replace filenames, paths, or keywords as needed.
timedatectl
Copy it and replace filenames, paths, or keywords as needed.
for i in {1..50}; do echo -e "\e[${((RANDOM%7+31))}m✨\e[0m"; sleep 0.1; done
Uses pipes, overwrite, or deletion. Check paths and options first.
echo "text" | lolcat
Uses pipes, overwrite, or deletion. Check paths and options first.
watch -n 1 date
Copy it and replace filenames, paths, or keywords as needed.
ls | wc -l
Uses pipes, overwrite, or deletion. Check paths and options first.
find . -xtype l
Copy it and replace filenames, paths, or keywords as needed.
ruby -run -e httpd . -p 8000
Copy it and replace filenames, paths, or keywords as needed.
php -S localhost:8000
Copy it and replace filenames, paths, or keywords as needed.
npx http-server
Copy it and replace filenames, paths, or keywords as needed.
alias r='fc -s'
Copy it and replace filenames, paths, or keywords as needed.
history | awk '{print $2}' | sort | uniq -c | sort -nr | head
Uses pipes, overwrite, or deletion. Check paths and options first.
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
Uses pipes, overwrite, or deletion. Check paths and options first.
truncate -s 10G file.img
Copy it and replace filenames, paths, or keywords as needed.
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf
Copy it and replace filenames, paths, or keywords as needed.
ffmpeg -i input.mp4 output.gif
Copy it and replace filenames, paths, or keywords as needed.
for f in *.txt; do mv "$f" "${f%.txt}.bak"; done
Uses pipes, overwrite, or deletion. Check paths and options first.
git status -sb
Copy it and replace filenames, paths, or keywords as needed.
while true; do echo -e "HTTP/1.1 200 OK\n\n$(date)" | nc -l 8080; done
Uses pipes, overwrite, or deletion. Check paths and options first.
op signin
Copy it and replace filenames, paths, or keywords as needed.
2048
Copy it and replace filenames, paths, or keywords as needed.
2fa -add [account_name]
May affect permissions or system state. Check the target first.
2to3 [script.py]
Copy it and replace filenames, paths, or keywords as needed.
3d-ascii-viewer [path/to/model.obj]
Copy it and replace filenames, paths, or keywords as needed.
7z a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
7za a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
7zr a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
sudo a2disconf [configuration_file]
May affect permissions or system state. Check the target first.
sudo a2dismod [module]
May affect permissions or system state. Check the target first.
sudo a2dissite [virtual_host]
May affect permissions or system state. Check the target first.
sudo a2enconf [configuration_file]
May affect permissions or system state. Check the target first.
sudo a2enmod [module]
May affect permissions or system state. Check the target first.
sudo a2ensite [virtual_host]
May affect permissions or system state. Check the target first.
a2p [script.awk] > [script.pl]
Uses pipes, overwrite, or deletion. Check paths and options first.
a2ping [input.ps] [output.pdf]
Copy it and replace filenames, paths, or keywords as needed.
sudo a2query -m
May affect permissions or system state. Check the target first.
sudo aa-audit [profile_name]
May affect permissions or system state. Check the target first.
sudo aa-cleanprof [profile_name]
May affect permissions or system state. Check the target first.
sudo aa-complain [path/to/profile]
May affect permissions or system state. Check the target first.
aa-decode [hexstring]
Copy it and replace filenames, paths, or keywords as needed.
sudo aa-disable [path/to/profile]
May affect permissions or system state. Check the target first.
sudo aa-enforce [path/to/profile]
May affect permissions or system state. Check the target first.
sudo aa-genprof [/path/to/program]
May affect permissions or system state. Check the target first.
sudo aa-logprof
May affect permissions or system state. Check the target first.
sudo aa-mergeprof [file1] [file2]
May affect permissions or system state. Check the target first.
aa-notify --since-last
Copy it and replace filenames, paths, or keywords as needed.
sudo aa-remove-unknown -n
May affect permissions or system state. Check the target first.
sudo aa-status
May affect permissions or system state. Check the target first.
sudo aa-teardown
May affect permissions or system state. Check the target first.
sudo aa-unconfined
May affect permissions or system state. Check the target first.
sudo aa-update-browser -l
May affect permissions or system state. Check the target first.
aafire
Copy it and replace filenames, paths, or keywords as needed.
aapt list [app.apk]
Copy it and replace filenames, paths, or keywords as needed.
aapt2 compile [path/to/resource.xml] -o [output_directory]
Copy it and replace filenames, paths, or keywords as needed.
ab -n 100 -c 10 [http://example.com/]
Copy it and replace filenames, paths, or keywords as needed.
abbr --add [abbreviation_name] [command] [arguments]
May affect permissions or system state. Check the target first.
abc2ly [input.abc]
Copy it and replace filenames, paths, or keywords as needed.
abcde
Copy it and replace filenames, paths, or keywords as needed.
abduco -c [session_name] [command]
Copy it and replace filenames, paths, or keywords as needed.
abigen --abi [contract.abi] --pkg [packagename] --out [contract.go]
Copy it and replace filenames, paths, or keywords as needed.
sudo abroot pkg add [package]
May affect permissions or system state. Check the target first.
abrt-action-analyze-backtrace
Copy it and replace filenames, paths, or keywords as needed.
abrt-action-analyze-c
Copy it and replace filenames, paths, or keywords as needed.
abrt-action-generate-backtrace -d [/var/spool/abrt/ccpp-2024-01-15]
Copy it and replace filenames, paths, or keywords as needed.
abrt-cli list
Copy it and replace filenames, paths, or keywords as needed.
tldr abrt-cli
Copy it and replace filenames, paths, or keywords as needed.
ac
Copy it and replace filenames, paths, or keywords as needed.
acccheck -t [192.168.1.1]
Copy it and replace filenames, paths, or keywords as needed.
accelerate launch [train.py]
Copy it and replace filenames, paths, or keywords as needed.
accessdb
Copy it and replace filenames, paths, or keywords as needed.
sudo accton [/var/log/account/pacct]
May affect permissions or system state. Check the target first.
ack [pattern]
Copy it and replace filenames, paths, or keywords as needed.
getfacl [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
aclocal
Copy it and replace filenames, paths, or keywords as needed.
acm
Copy it and replace filenames, paths, or keywords as needed.
export CF_Token="[token]" && acme.sh --issue -d [example.com] --dns dns_cf
Uses pipes, overwrite, or deletion. Check paths and options first.
acme.sh --issue -d [example.com] -w [/var/www/html]
Copy it and replace filenames, paths, or keywords as needed.
aconnect -l
Copy it and replace filenames, paths, or keywords as needed.
acountry [example.com]
Copy it and replace filenames, paths, or keywords as needed.
acpi
Copy it and replace filenames, paths, or keywords as needed.
acpi_available && echo "ACPI supported"
Uses pipes, overwrite, or deletion. Check paths and options first.
acpi_listen
Copy it and replace filenames, paths, or keywords as needed.
sudo acpid
May affect permissions or system state. Check the target first.
act
Copy it and replace filenames, paths, or keywords as needed.
act3
Copy it and replace filenames, paths, or keywords as needed.
acyclic [graph.dot]
Copy it and replace filenames, paths, or keywords as needed.
ad [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
adb connect [192.168.1.100]:5555
Copy it and replace filenames, paths, or keywords as needed.
adb devices
Copy it and replace filenames, paths, or keywords as needed.
adb disconnect [192.168.1.100]:5555
Copy it and replace filenames, paths, or keywords as needed.
adb forward tcp:[8080] tcp:[8080]
Copy it and replace filenames, paths, or keywords as needed.
adb install [app.apk]
Copy it and replace filenames, paths, or keywords as needed.
adb kill-server
Copy it and replace filenames, paths, or keywords as needed.
adb logcat
Copy it and replace filenames, paths, or keywords as needed.
adb pair [192.168.1.100]:[port]
Copy it and replace filenames, paths, or keywords as needed.
adb reboot
Copy it and replace filenames, paths, or keywords as needed.
adb reverse tcp:[8080] tcp:[8080]
Copy it and replace filenames, paths, or keywords as needed.
adb shell pm list packages
Copy it and replace filenames, paths, or keywords as needed.
adb shell pm list packages
Copy it and replace filenames, paths, or keywords as needed.
adb shell pm list packages
Copy it and replace filenames, paths, or keywords as needed.
adb shell
Copy it and replace filenames, paths, or keywords as needed.
adb start-server
Copy it and replace filenames, paths, or keywords as needed.
adb uninstall [com.example.app]
Copy it and replace filenames, paths, or keywords as needed.
adb devices
Copy it and replace filenames, paths, or keywords as needed.
sudo adcli join [domain.com]
May affect permissions or system state. Check the target first.
sudo add-apt-key [KEY_ID]
May affect permissions or system state. Check the target first.
add-apt-repository [repository_spec]
Copy it and replace filenames, paths, or keywords as needed.
add-computer.py [domain]/[user]:[password] -computer-name [hostname]
Copy it and replace filenames, paths, or keywords as needed.
sudo add-shell [/usr/local/bin/zsh]
May affect permissions or system state. Check the target first.
addcomputer.py [domain]/[user]:[password] -computer-name [hostname]
Copy it and replace filenames, paths, or keywords as needed.
addftinfo [resolution] [unitwidth] [font] < [input.tfm] > [output.tfm]
Uses pipes, overwrite, or deletion. Check paths and options first.
sudo addgroup [groupname]
May affect permissions or system state. Check the target first.
addpart [device] [partition] [start] [length]
Copy it and replace filenames, paths, or keywords as needed.
addr2line -e [path/to/executable] [address]
Copy it and replace filenames, paths, or keywords as needed.
adduser [username]
Copy it and replace filenames, paths, or keywords as needed.
sudo adguardhome -s start
May affect permissions or system state. Check the target first.
ADGUARD_IP="192.168.1.1" ADGUARD_PORT="3000" ADGUARD_USERNAME="admin" ADGUARD_PASSWORD="pass" adguardian
Copy it and replace filenames, paths, or keywords as needed.
adig [example.com]
Copy it and replace filenames, paths, or keywords as needed.
admesh [path/to/model.stl]
Copy it and replace filenames, paths, or keywords as needed.
adscript [script.ad]
Copy it and replace filenames, paths, or keywords as needed.
adventure
Copy it and replace filenames, paths, or keywords as needed.
aerc
Copy it and replace filenames, paths, or keywords as needed.
afconvert -f m4af -d aac [input.wav] [output.m4a]
Copy it and replace filenames, paths, or keywords as needed.
afm2tfm [font.afm] [font.tfm]
Copy it and replace filenames, paths, or keywords as needed.
afmtodit [font.afm] [textmap] [fontname]
Copy it and replace filenames, paths, or keywords as needed.
ag [pattern]
Copy it and replace filenames, paths, or keywords as needed.
agate --content [/var/gemini] --hostname [example.com]
Copy it and replace filenames, paths, or keywords as needed.
age-inspect [secrets.age]
Copy it and replace filenames, paths, or keywords as needed.
age-keygen
Copy it and replace filenames, paths, or keywords as needed.
age -p [file.txt] > [file.txt.age]
Uses pipes, overwrite, or deletion. Check paths and options first.
npx agent-skills-eval [./skills]
Copy it and replace filenames, paths, or keywords as needed.
agent-vault server -d
Copy it and replace filenames, paths, or keywords as needed.
npm install -g agentbox-cli
Copy it and replace filenames, paths, or keywords as needed.
agetty [tty] [115200]
Copy it and replace filenames, paths, or keywords as needed.
agg [recording.cast] [output.gif]
Copy it and replace filenames, paths, or keywords as needed.
agy .
Copy it and replace filenames, paths, or keywords as needed.
ahost [example.com]
Copy it and replace filenames, paths, or keywords as needed.
aic claude
Copy it and replace filenames, paths, or keywords as needed.
aichat "[explain quicksort]"
Copy it and replace filenames, paths, or keywords as needed.
sudo aide -i
May affect permissions or system state. Check the target first.
aider [file1.py] [file2.py]
Copy it and replace filenames, paths, or keywords as needed.
aim [https://domain.com/file.tar.gz] .
Copy it and replace filenames, paths, or keywords as needed.
npx aimock -p [4010] -f [./fixtures]
Copy it and replace filenames, paths, or keywords as needed.
air
Copy it and replace filenames, paths, or keywords as needed.
sudo airbase-ng -e "[FakeSSID]" -c [6] [wlan0mon]
May affect permissions or system state. Check the target first.
aircrack-ng -w [wordlist.txt] [capture.cap]
Copy it and replace filenames, paths, or keywords as needed.
airdecap-ng -w [hex_key] [capture.cap]
Copy it and replace filenames, paths, or keywords as needed.
airdecloak-ng -i [capture.cap] --bssid [00:11:22:33:44:55]
Copy it and replace filenames, paths, or keywords as needed.
sudo aireplay-ng -0 [5] -a [AP_BSSID] -c [CLIENT_MAC] [wlan0mon]
May affect permissions or system state. Check the target first.
airflow scheduler
Copy it and replace filenames, paths, or keywords as needed.
sudo airmon-ng
May affect permissions or system state. Check the target first.
sudo airodump-ng-oui-update
May affect permissions or system state. Check the target first.
sudo airodump-ng [wlan0mon]
May affect permissions or system state. Check the target first.
airolib-ng [database.db] --init
Copy it and replace filenames, paths, or keywords as needed.
airpaste
Copy it and replace filenames, paths, or keywords as needed.
sudo airserv-ng -d [wlan0mon] -c [6] -p [666]
May affect permissions or system state. Check the target first.
airshare [mycode] [file.txt]
Copy it and replace filenames, paths, or keywords as needed.