CLI: Useful system information commands
- rajababukarmakar
- Jul 21, 2024
- 1 min read
Updated: Aug 17, 2024
For beginners, learning the Command Line Interface could be a vital tool in your arsenal. Master CLI commands to easily navigate between High-Performance Computing (HPC) clusters and your personnel computer.
Here are some of the most helpful CLI commands for fetching system information -
date | Show the current date and time |
cal | Show the month's calender |
uptime | show current uptime |
w | Display who is on line |
whoami | Who you are logged in as |
finger <user> | Display information about user |
uname -a | show kernel information about user |
cat /proc/cpuinfo | CPU information |
cat /proc/meminfo | Memory information |
man <command> | Show the manual for command |
df | Show the disk usage |
du | Show directory space usage |
free | Show memory and swap usage |
whereis <app> | Show possible location of app |
which <app> | Show which application will be run by default. |
If you have any queries or problems logging into your computing space, don't hesitate to contact Uni Datacenter admin at cluster-admin@uni-datacenter.com.