Software test engineers often need to do test environment Test system deployment, version update, performance tuning work, this time need to master a certain degree of Linux basics.
Linux commands: 1, unzip file name. zip (extract zip) or tar xvf filename. tar.gz.
2. Service Java status (view specified service)
3, cat file name. XML (view file)
4, vi ~/.bash_profile (view Linux environment variable configuration file)
5, chmod u+x *.sh (all the. sh files under the authorization directory)
6. Check to see if Tomcat is off: Ps-ef|grep Tomcat
7, Netstat-anp|grep 8080 to see if the specified port is occupied and occupy the program
8. View the specified environment variable: echo $PATH
9, CP replication CP name Target path
10, delete the specified file or folder: Rm-rf name or path
11, new folder: MkDir folder name
12, to see whether the Linux system is 32 or 64: getconf long_bit
13, Mobile and renamed: MV FileName specified road strength + filename