- Check kernel version
uname -a (-a = all)
- Check current IP
ifconfig
ip addr
ip addr show eno2 # specifically for eno2- Amount of free disk space
df
df -ah # a - all, h - human readable- Service management
systemd
sudo systemctl enable service
sudo systemctl start service
sudo systemctl enable --now service (enables and starts)
sudo systemctl status service
sudo systemctl stop service
sudo systemctl disable servicelegacy
service udev status
service udev start
...- Check size of directory
du ./folder
du -sh ./folder # s - summarize, h - human readable- Check open ports
netstat
netstat -tulpn # tcp/udp - Check to check resource usage
specific process
ps aux | grep process_namegeneral overview
top
htop- Mounting devices
mount /dev/sda2 /mnt/usb
mount # list mountsNote: boot mounts are set in fstab.
- Man pages
man <command>