1.wget command: Download resources from the specified URL to the current directory wget www.downlodad.com/...
2.PWD Show current Path command
3.tar Package Unpacking Command
-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!
Compression:
TAR-CVF Jpg.tar *.jpg//package all JPG files in the directory into tar.jpg
TAR-CZF jpg.tar.gz *.jpg//pack all JPG files in the directory into Jpg.tar and compress them in gzip to generate a gzip compressed package named jpg.tar.gz
TAR-CJF jpg.tar.bz2 *.jpg//pack all JPG files in the directory into Jpg.tar and compress them in bzip2 to generate a bzip2 compressed package named jpg.tar.bz2
TAR-CZF jpg.tar.z *.jpg//pack all JPG files in the directory into Jpg.tar and compress them in compress to generate a umcompress compressed package named Jpg.tar.z
RAR a jpg.rar *.jpg//rar format compression, you need to download RAR for Linux first
Zip jpg.zip *.jpg//zip format compression, need to download zip for Linux First
Extract:
TAR-XVF File.tar//Unpacking the TAR Package
TAR-XZVF file.tar.gz//Decompression tar.gz
TAR-XJVF file.tar.bz2//Decompression tar.bz2
TAR-XZVF file.tar.z//Unzip tar. Z
Unrar e file.rar//decompression rar
Unzip File.zip//Unzip zip
4.touch Create file Update file timestamp
5.find find files under the specified folder Eg:find ~-name "*.txt" check the. txt file in $home and display
6.MV moving files to a specified folder or renaming files
Summary of Common Linux commands