Display available disk space on all filesystems
Type here
df -h
Display disk usage of the current directory
Type here
du -sh .
Display disk usage of a corpora directory
Type here
du -sh corpora/
Display system memory usage
Type here
free -h
Show uptime and load average
Type here
uptime
Show CPU information
Type here
lscpu
List all hardware devices
Type here
lshw
List block storage devices
Type here
lsblk
List USB devices
Type here
lsusb
List PCI devices
Type here
lspci
Display open files and network connections
Type here
lsof
Show which process is using a specific port
Type here
lsof -i :8080
Time how long a command takes to run
Type here
time python3 script.py