Jobs:
[program name] &: create a job -> eg: google-chrome & , this command will create chrome job;
jobs: list all the jobs;
fg %n: stop a job, n is numeric which is the ID of the job, if follows Ctrl + C, which will kill the job, if follows Ctrl + Z, which will stop the job;
bg %n: run a job, this command will running the stopped job;
kill -9 $(jobs -p): kill all the jobs
Process:
ps ux: list all the running processing;
pkill [ID,Name]: kill a processing using ID or Name of the program;
kill [ID]: kill a processing using ID
Install:
/*Note: if login name is not root, then before all the apt-get command must be adding sudo*/
sudo apt-get install [program name]: installation an program;
sudo apt-get remove [program name]: uninstall an program;
sudo apt-get autoremove [program name]: unistall an program except the part is being used by sys now;
/*if out line install local program, then see the following command*/
install an .deb file:
sudo dpkg -i [file full name] -> [file full name] like: /home/loginusername/Downloads/linuxqq.deb;
install an .tar.gz file:
actually .tar.gz is an general compressed file format under linux, just like .zip format in windows, so we must extract tarball(compressed file) first, using:
tar xzf file.tar.gz
install an .sh file:
1.Go to the directory which has the file, using: cd [directory full path], eg: cd /home/username/Downloads/;
2.Type './filename.sh' and hit enter, or you can type 'bash filename.sh';