The following are commands I use in Linux:
- tar zcvf ***.tar.gz *** --to zip a folder or file with name ***
- tar zxvf ***.tar.gz --to unzip a folder or file
- ls -l --list contents
- pwd --print directory
- ps -aux --list processes
- kill -9 *** --to kill a process name ***
- sudo yum -y update --to update the whole system (I do this before I go home)
- mv --rename or move file/folder
- rm --remove file (to remove folder use rm -R)
- man --this is a good friend
No comments:
Post a Comment