technical solution-Useful Linux Commands for Sysadmin Linux command tricks from Techmirrors
https://linktr.ee/rotceh77
Linux commands that every admin should know
Comandos en Linux que todo administrador de redes, servidores, o sistemas debe conocer.
Descripcion de comandos / Commands description:
SYSTEM INFO
whoami | current user info
hostname | server or pc name
w and who | system users info
uname -a | system name and architecture
cat /proc/version | Linux version kernel info
last | last loged users
uptime | alive system info
last reboot | last boot of machine
HW INFO
free -m | free ram, swap and system free memory
cat /proc/meminfo | detailed info about memory
cat /proc/cpuinfo | detail
lspci -k | pci devices and hardware info
df -k | detailed and usage disk info
df -h | detailed and usage disk info on Megas and Gygas
top | actual running processes
ps -eF | detailes running processes
NETWORK INFO
ip link show
ifconfig
arp -a
netstat -natu
lsof -i
route -n
ifconfig eth0:0 192.168.51.254 netmask 255.255.255.0 | Second IP
# ip addr del 1.2.3.4/32 dev eth0 | Remove an IP
sourceTechmirrors