CLI: Useful process management commands in Linux
- rajababukarmakar
- Jul 21, 2024
- 1 min read

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 management of processes -
ps | To display the currently working processes |
top | Display all running process |
kill <pid> | Kill the process with the given pid |
killall proc | Kill all the processes named proc |
pkill pattern | will kill all processes matching the pattern |
bg | List stopped or background jobs, resume a stopped job in the background |
fg | Brings the most recent job to the foreground |
fg n | Brings the job n to the foreground |
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.