- Process related command
- top - real time view of all process running
- ps -aus - snapshot of all process running
- kill -9 PID - kill a process with PID as process id.
- nohup cmd > logs.out & - Run a process in background and deattach from terminal.
- screen - Start a screen terminal (-r restore, -ls view, Ctrl-A + d deattach screen)
- Filesystem related
- ls -la - list all files in current directory
- wc -l - Count number of lines in a file
- df - list of all filesystem mounted, with total/available/percent usage.
- lsblk - list of all block devices, use df instead.
- du -h dir - Human readable disk usage by files/directory.
- ls -l dir | wc -l - Count of files in a directory
- Machine related
- lscpu - CPU related information like arch, total cpus, cache details etc.
- cat /etc/os-release - OS related information
- cat /proc/meminfo - RAM related info
- Network related