1. View Port occupancy
Netstat tunlp|grep 8080
2. Create a folder
mkdir Hello
3. Create a file
Touch Hello.js
4. Copying folders
Cp-r Hello/app/hello
5. Unzip
Unzip Aa.zip
A
6. Compression
ZIP-R-Q Aaa.zip *
-A: Adjust the executable automatic decompression file;-b< working directory >: Specifies the directory where the files are temporarily stored;-C: Add notes for each compressed file;-d: Delete the specified file from the compressed file;-D: The directory name is not established within the compressed file;-F: Effect of this parameter and specify "-U "parameter is similar, but not only update the existing files, if some files originally do not exist in the compressed file, using this parameter will be added to the compressed file;-F: Try to repair the corrupted compressed file;-g: The file is compressed and appended to the existing compressed file, rather than creating a new compressed file;-h: online help;-i< Template Style >: Only files that match the conditions are compressed;-J: Save only the file name and its contents without any directory name;-J: Delete unnecessary data in front of compressed file;-K: Using ms-file name in DOS compatible format;-L: Replace LF characters into lf+ when compressing filesCR character;-ll: When compressing files, put lf+The CP character is substituted into the LF character;-L: Display copyright information;-m: After compressing the file and adding the compressed file, delete the original file, then move the file to the compressed file;-n< Tail string >: Do not compress files with a specific string of characters;-O: The file with the most recent change in the compressed file, the change time of the compressed file is set to the same as the file;-Q: The instruction execution process is not displayed;-r: Recursive processing, all files and subdirectories under the specified directory are processed together;-S: Contains system and hidden files;-t< Date Time >: Set the date of the compressed file to the specified date;-T: Check that each file in the backup file is correct;-u: replace the newer files in the compressed file;-V: Show instruction execution process or display version information;-V: Save the file attributes of the VMS operating system;-W: If the version number is in the file name, this parameter is only valid under the VMS operating system;-x< Template Style >: Exclude files that match the conditions when compressing;-X: Do not save additional file attributes;-y: Save the symbolic connection directly, not the file that the link points to, this parameter is only valid under a system such as UNIX;-Z: Add notes for compressed files;-$: Saves the volume book name of the disk on which the first compressed file is located;-< compression efficiency;: Compression efficiency is a value between 1~9.
View Code
Linux Common commands