Xargs used in bulk operations behind pipe symbols
Find. -mtime +10 |xargs RM-RF
ls-d./
|xargs-n1-i{} mv {} {}_bak
Both exec and find use
Find files with the current directory creation time greater than 10 days and delete: Find. -mtime +10-exec RM-RF
Batch Change file name: Find./-exec mv {} {}_bak
Xargs can turn multiple lines into a row of cat 1.txt|xargs
Screen is the equivalent of a virtual terminal, which does not exit due to network interruption, each login can enter the screen
How to use: Directly enter the screen command
Screen-ls View the screen that is already open
Ctrl +a then press D to exit the screen session, just exit, and not end. End words Enter Ctrl +d or enter exit
After exiting, you also want to log in to a screen session again, using Sreen-r Screenid if there is only one screen direct screen-r
Screen-s aming; login words screen-r aming
Curl is a tool for simple testing of Web Access under the Linux system command line, with a few common options you need to master
Curl-xip:port www.baidu.com #-X can specify IP and port, omit write hosts, convenient and practical
Curl-iv http://www.qq.com #-I can drop the content of the access, only show the status code,-V can show the detailed process
Curl-u User:password http://123.com #-u can specify user name and password
Curl Http://study.lishiming.net/index.html-O #可以下载
You can also use the-O custom name
Curl-o index2.html http://study.lishiming.net/index.html
EXEC and Xargs screen curl