Linux/Unix:Generic

From wiki
Revision as of 12:17, 25 February 2020 by Hdridder (talk | contribs)
Jump to navigation Jump to search
df -P
Report file-system information in parseble format.
df -h
Report file-system information in easy understandable precision (K, M or G when appropriate).
top
List process resource usage. By default having the most CPU-intensive process on top. Press > to have it sort on another column. Press 1 to have usage for each CPU apart.
lscpu
List CPU information
free
Show memory usage
uname -a
Show kernel version
mountpoint -q <directory>
Check if <directory> is in use as mountpoint
chage -l <username>
Show password aging status

RedHat (RHEL)

/etc/redhat-release
Redhat version installed

Bash

Bash

:
No operation (NOP)