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 a sample of the random data stream , Creating temporary file names for displacements , the world of computers can be said to be a hostile environment , So it is possible to give temporary files unique and unique access in this way , so that you can be free from the tools .

Locate and slocate command available for regularly updated database ( Quick query file name when you know all or part of the file name so use locate Unless the file is a new created after the lookup database is 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 another command to process a list of files,usually appear upstream forFindIn the pipeline. XargsIn addition to the restrictions on the number of commands on many systems,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 directory tree .

Finally , the commands for comparing files are described , patches are applied, file checksums are generated, and digital signatures are verified .

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

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.