Useful linux command

Hi folks,

Today i just came to know how to remove files from unix.

sudo apt-get autoremove
sudo apt-get clean
sudo apt-get autoclean
 
To remove file/directory
 
sudo rm [filename] 
 
 
ls - list command
 
To get which process running on linux
 
ps ax|grep [Process name] 
 
e.g., 
ps ax|grep node
ps ax|grep xyz
 
  


Comments

Popular Posts