Shell Learning Summary

Source: Internet
Author: User

Summary

This chapter describes how to use ls and stat to expose files and file meta data , and how to use Touch set the time stamp not seen . Touch can display information about datetime and scope limitations on many existing systems .

Shows how to use the shell 's process ID variable $$, with the mktemp tool and manually take out random data stream samples , Creating temporary file names for displacements , the world of computers can be said to be a hostile environment , So it's possible to give temporary files unique and unique accessibility in this way , allowing you to be free from the tools .

Locatewith theslocatecommands are available for regularly updated databases(is built through a complete scan of the file search.)in,high-speed query file name is called,when you know all or part of the file name,and just want to know where he is in the file system.,then useLocateis the best way,unless the file was newly created after the lookup database was built.

TypeThe order is to find out aboutShella good way to command related information; Findcommand to traverse file system with brute force,find files that match user-specified criteria.It's easy to say a little bit.Xargsthe processing method,This is also a command to process a list of files,usually the upstream is nowFindIn the pipeline. XargsIn addition to being able to service many of the system's command-governor limits,It also allows you to insert additional filters into the pipe.,for further processing of the file.

The DF and du Command reports the state of space usage in the file system and the folder tree .

Finally , it describes the commands for comparing files , applies patches , generates file checksums, and verifies digital signatures .

Shell Learning Summary

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.