Linux command to recite daily (D)


Compression, decompression

1, tar  : Unix / Linux system is important to use a backup file, tar representatives of non-compressed tar file

             -c -------------------------- create                          

             -x -------------------------- decompression                  

             -t -------------------------- View archive list

             -v -------------------------- show the detailed process           

             -f --------------------------- execution 

             -p -------------------------- retain the original file permissions packaging

             -C ------------------------- decompressed to a specified location

             -z -------------------------- gzip format

             -f -------------------------- bzip2 format

image.png

image.png

image.png

image.png

image.png


2, zip compression format: zip package .zip file name or file name

     Unzip unzip: unzip the package name .zip -d extraction path

image.png


If you have forgotten struck the previous command

3, History : View history command

image.png

4 ! vim : Edit the last open document

image.png


Three ways to immediately update the jdk installed on linux, install samba service, Tomcat server.


Guess you like

Origin blog.51cto.com/13185351/2420029