Software testing skills include: Use case design, testing tools, database,Linux, programming language.
Not long ago, just changed jobs, so, interviewed a lot of companies, the main interview skills:Linux and database ratio is 1:2.
So, today, let's talk about the software testing skills of Linux.
Some basic instructions, there is not much to say, mainly about some testers often use some of the instructions:
First, Package:tar command
Parameters:
-C : Create a compressed file parameter directive ( the meaning of create);
-x: Unlock the parameter instructions for a compressed file!
-T : View The files inside the Tarfile!
in particular, in the release of the parameters, c/x/t can only exist one! Cannot exist at the same time! Because it is not possible to decompress at the same time.
-Z : Do you have the properties of gzip at the same time? i.e. do I need gzip compression?
-j : Do you have bzip2 properties at the same time ? i.e. is it necessary to compress with bzip2 ?
-V: Files are displayed during compression! This is commonly used, but is not recommended for use in the background execution process!
-F : Use the file name, please note, after F to immediately answer the file name Oh! Don't add any more arguments!
For example, using " tar-zcvfp tfile sfile" is the wrong way to write
" tar-zcvpf tfile sfile" Just right!
-P : Use original file properties (attributes are not changed according to user)
-P : You can use absolute path to compress!
-N : Newer than next date (YYYY/MM/DD) will be packaged in the new file!
--excludefile: In the process of compression, do not package FILE!
Example:
Example One: package All the files in the/etc directory into/tmp/etc.tar
[[Email protected]~]# tar-cvf/tmp/etc.tar/etc
Unpack all files in the/etc directory under the ETC directory
[Email protected]~]# tar xvf/tmp/etc.tar/etc
Second, the Three Musketeersof Linux: grep,sed,awk
Specific examples and usage can be seen in the Old boy blog:
An example of the Three Musketeers ' awk killing skill:http://oldboy.blog.51cto.com/2561410/950730
A case study of the sed of the Three Musketeers of Linux: http://oldboy.blog.51cto.com/2561410/949365
the difference betweengrep,egrep,fgrep: http://ericsam.blog.51cto.com/4479540/1563687
To learn more about Linux, search for ' old boys '. I am a loyal fan of the old boy.
"My Linux, I am the master" Software testing skills of Linux