Date Time
Date domestic time CST;
date-u GMT UTC;
Date +%y:%m:%d format time;
Date-s "21:05:00" setting time;
Clock view motherboard time;
Cal View Calendar;
uptime system boot information;
Output, view commands
Echo: Displays the input content;
Cat: Displays the contents of the file;
MORE: Used for paging display file content, can only page down;
Less: page to display the contents of the file, with page up and down;
Head: Displays the first few lines of the file, the default 10 rows-n parameter for the specified number of displayed rows;
Tail: Displays the last few lines of the file, the default 10 rows-n parameter for the specified number of rows displayed,-F Trace display file updates, generally used to view the log;
View hardware Information
LSPCI: View PCI Device-v view details;
LSUSB: View USB Device-v view details;
Lsmod: View the loaded module (Windows driver);
Archive release Compression decompression
Zip compressed file
Unzip unzip a file
gzip Compressed Files
Tar archive (Package command, no compression)
TAR-CVF Filename.tar filename;
TAR-XVF Filename.tar (release file);
Find
Locate keyword This command requires a pre-established database, the database is updated daily by default, you can manually build and update the database by UpdateDB command;
Find Find Location Lookup parameters
find/home/hhl/-name *aabbcc* Search by file name;
find/home/hhl/-name *.conf;
Find/-perm 777 with permission lookup;
Find/-type D finds all directories;
Find/-type L search all links;
Find. -name "*"-exec ls-l {} \; All documents beginning with a are found and listed in ls-l form;
Linux Common commands