Stew Alexander
  • Home
  • The Quantum Shield Initiative
  • LinuxTech.Me
  • MebaneWeather.com
  • SolveIT4.Me
  • Contact
  • bookshelf
Picture
A fully owned subsidiary of StewAlexander.com

• Linux CMDS •
• Awesome Linux Shell on Github •
• Linux-Tools •

Linux Command Explorer

Discover commands by task, category, or natural language search

□
List of Useful Linux Commands & CLI Tools
Click or tap on any of the command names underlined for more info!
Showing 0 of 0 commands
Linux Commands
  • ac: prints statistics about users' connect time in hours, $ac -pd : shows daily user connect time and statistics (psacct / acct package needs to be installed and enabled first)
  • anacron: cron job scheduler for systems that don't run 24/7, ensures scheduled tasks run after system startup
  • arch: displays machine architecture, same as uname -m (e.g., x86_64, aarch64)
  • atop: advanced system and process monitor with daily logging capability (requires installation via package manager)
  • bat: enhanced cat clone with syntax highlighting, git integration, and line numbers (requires installation)
  • bmon: bandwidth monitor and rate estimator (requires installation)
  • $cat /etc/*release: displays Linux distribution and version information
  • $cat /proc/cpuinfo: displays detailed processor information
  • ccze: log colorizer for better readability. Example: $sudo tail -f /var/log/messages | ccze or $sudo cat /var/log/messages | ccze -m ansi | less -R
  • $cd -: changes to previous working directory
  • $clear: clears terminal screen (shortcut: Ctrl+L)
  • $ctrl-a / $ctrl-e: move cursor to beginning/end of command line
  • $ctrl-z: suspends current process; resume with $fg (foreground) or $bg (background)
  • $df -h: displays disk space usage in human-readable format
  • delta: Syntax-highlighted git diff viewer. Example: $git diff | delta
  • dig: DNS lookup utility for querying DNS nameservers
  • $dmesg -H: displays kernel ring buffer messages (-H for human-readable timestamps where supported)
  • $du -hs: shows directory sizes in human-readable format, summarized
  • dust: More intuitive disk usage with better visualization. Example: $dust
  • eject: safely ejects removable media (CD/DVD drives, USB devices)
  • env: displays environment variables or runs a program in modified environment
  • eza: Better ls with colors, icons, and Git integration. Example: $eza -la or $eza --tree
  • $find /etc -name "*conf": finds all files ending in "conf" under /etc directory
  • $free -h: displays system memory usage in human-readable format
  • fd: Fast alternative to find with better defaults. Example: $fd pattern
  • fzf: Interactive fuzzy finder for command-line navigation. Example: $fzf or $ls | fzf for filtering
  • grep: recursively searches for case-insensitive patterns in files. Example: $grep -Pri "search_term" .
  • head: displays first part of files (default: 10 lines)
  • inode: index node containing file metadata and disk block location. View with $ls -i
  • $inxi -Finc 0 > system_data.txt: generates detailed system hardware report (requires inxi installation)
  • $kill $(pgrep process_name): terminates all processes matching the specified name
  • lastlog: shows last login time for all users. Filter active users: $lastlog | grep -v "Never"
  • ldd: prints shared library dependencies of executables
  • less: terminal pager for viewing text files with scrolling and search capabilities
  • locate: quickly finds files using database (run $sudo updatedb to update database)
  • logsave: saves command output to a timestamped log file. Example: $logsave ~/output.log command
  • lsblk: displays information about block devices (disks, partitions, etc.) in a tree format
  • $lslogins: displays user login information. -u shows all users, -Lu shows last login details
  • man: manual page viewer
  • $man -f command: displays brief descriptions of command (equivalent to whatis). Requires $sudo mandb (newer systems) or $sudo makewhatis
  • $man -k keyword: searches manual page descriptions for keyword (equivalent to apropos)
  • $man ascii: displays ASCII character set table
  • $man -w command: shows the location of command's manual page
  • $man -a command: displays all manual pages for command in sequence
  • $man -t command | ps2pdf - command.pdf: converts man page to PDF
  • $man -H command: displays manual page in HTML format (if supported)
System Administration
  • mount: mounts filesystems. Example: $sudo mount /dev/sdb1 /mnt/usb
  • umount: unmounts filesystems safely before removal
  • systemctl: controls systemd services. Examples: $sudo systemctl start nginx, $systemctl status ssh
  • ps: displays running processes. Useful options: $ps aux, $ps -ef
  • top: displays and updates sorted information about running processes
  • htop: interactive process viewer with better interface than top (requires installation)
  • netstat: displays network connections, listening ports, and routing tables
  • ss: modern replacement for netstat. Example: $ss -tuln
  • iptables: configures Linux kernel firewall rules (requires root privileges)
  • ufw: Uncomplicated Firewall - simplified iptables interface
  • crontab: manages user's cron jobs. Examples: $crontab -e, $crontab -l
  • service: controls system services on older systems. Example: $sudo service apache2 restart
  • journalctl: queries systemd journal logs. Examples: $journalctl -u nginx, $journalctl -f
  • rsync: synchronizes files and directories efficiently
  • wget: downloads files from web servers. Example: $wget https://example.com/file.zip
  • curl: transfers data to or from servers. Supports many protocols
  • tar: archives and compresses files. Examples: $tar -czf archive.tar.gz files/, $tar -xzf archive.tar.gz
  • gzip: compresses files using gzip algorithm
  • zip: creates zip archives. Example: $zip -r archive.zip folder/
  • unzip: extracts zip archives. Example: $unzip archive.zip
  • chmod: changes file permissions. Examples: $chmod 755 script.sh, $chmod +x file
  • chown: changes file ownership. Example: $sudo chown user:group file.txt
  • su: switches user account. Example: $su - username
  • sudo: executes commands as another user (typically root)
  • passwd: changes user password. Example: $passwd username
  • usermod: modifies user account properties. Example: $sudo usermod -aG sudo username
  • useradd: adds new user account. Example: $sudo useradd -m -s /bin/bash newuser
  • userdel: deletes user account. Example: $sudo userdel -r username
  • groups: displays groups that current user belongs to
  • id: displays user and group IDs for current or specified user
  • who: displays currently logged in users
  • w: displays who is logged in and what they are doing
  • uptime: displays system uptime and load averages
  • history: displays command history. Example: $history | grep search_term
  • uname: displays system information. Useful options: $uname -a, $uname -r
  • hostname: displays or sets system hostname
  • date: displays or sets system date and time
  • timedatectl: controls system time and date settings in systemd
  • fdisk: manipulates disk partition tables (requires root). Example: $sudo fdisk -l
  • parted: partition editor that supports GPT and MBR partition tables
  • mkfs: builds filesystems on devices. Example: $sudo mkfs.ext4 /dev/sdb1
  • fsck: checks and repairs filesystems. Example: $sudo fsck /dev/sdb1

No commands found

Try adjusting your search terms.

Additional resources: Linux Commands Examples | Unix Commands List | Linux Commands Cheat Sheet


Want even more Linux commands?

Checkout the below pdf from tldr.sh ...
Picture
Your browser does not support viewing this document. Click here to download the document.

Personal Apps and Repos

Repository Description
Vim-Awesome-Cheatsheet Comprehensive Vim reference with essential commands, shortcuts and tips organized by category for quick access and efficient text editing.
NetVendor Python tool that analyzes MAC/ARP data to visualize vendor distribution on your network, revealing what manufacturers and devices are present.
Linux-Tools Curated collection of essential Linux utilities and tools that I install on every Linux/Debian system for improved productivity and administration.
Awesome-Mnemonics Collection of lifehack acronyms and memory techniques to help with problem-solving, analysis, and everyday challenges.
Repository Description
Vim-Awesome-Cheatsheet
Comprehensive Vim reference with essential commands, shortcuts and tips organized by category for quick access and efficient text editing.
NetVendor
Python tool that analyzes MAC/ARP data to visualize vendor distribution on your network, revealing what manufacturers and devices are present.
Linux-Tools
Curated collection of essential Linux utilities and tools that I install on every Linux/Debian system for improved productivity and administration.
Awesome-Mnemonics
Collection of lifehack acronyms and memory techniques to help with problem-solving, analysis, and everyday challenges.
See my GitHub profile for more information and a complete list of my available repositories

A few Games I Love for the Console / Terminal

Game Description
Nudoku Sudoku for the console / terminal (available also for the Mac via homebrew) it's not all about work
Ninvaders Play space invaders via the console (available also for the Mac via homebrew) Because 80's Atari games never ever get old...
Bastet A Tetris clone for the console C'mon it's Tetris, for the console ... how isn't this cool?
Game Description
Nudoku
Sudoku for the console / terminal (available also for the Mac via homebrew) it's not all about work
Ninvaders
Play space invaders via the console (available also for the Mac via homebrew) Because 80's Atari games never ever get old...
Bastet
A Tetris clone for the console C'mon it's Tetris, for the console ... how isn't this cool?
 ... See more cool apps  and resources  here and here
  • Home
  • The Quantum Shield Initiative
  • LinuxTech.Me
  • MebaneWeather.com
  • SolveIT4.Me
  • Contact
  • bookshelf