Welcome, Guest Create a Case Login

Support Center

LINUX Commands examples

Last Updated: Nov 22, 2016 07:09AM UTC
Command Explanation 
uname -a Show kernel version and system architecture
head -n1 /etc/issue  Show name and version of distribution 
cat /proc/partitions Show all partitions registered on the system
grep MemTotal /proc/meminfo Show RAM total seen by the system
grep "model name" /proc/cpuinfo  Show CPU(s) info
mount | column -t List mounted filesystems on the system (and
align output)
ps -e -o pid,args --forest List processes in a hierarchy
ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d' List processes by % cpu usage
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS  List processes by mem (KB) usage. See also ps_mem.py
ps -p 1,$$ -o etime= List elapsed wall time for particular process IDs 
last reboot  Show system reboot history
free -m Show amount of (remaining) RAM (-m displays in MB)
ip link show List network interfaces 
ip addr show  List addresses for interfaces
ip route show List routing table
rpm -qa |grep "partial package name" List ALL packages on your system. Use this with grep to find families of packages

Contact Us

04daa1f61c437d399c5f3619dce3f387@promisec.desk-mail.com
http://assets2.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete