Linux Commands
Permissions
Copy permissions from one file/folder to another:
sudo chmod --reference=users.list keys.list
Disk space
to see what is using disk space:
df -H
Human readable sorted by size:
sudo du -h -s /* | sort -nr
Check ports
Check listening ports:
sudo netstat -tunlp
Ubuntu version
Check version:
lsb_release -a or cat /etc/lsb-release.
Find FPM socket
find / -name "*fpm.sock"
Processes
Info about running processes of all users:
ps aux
DNS
dig zcyph.cc
nslookup zcyph.cc
Kernel
Information/log from all components:
dmesg
lspci -nnk
lsmod
inxi -Fxmz