Linux-32-linux Basic Important Command (L005-14)

Source: Internet
Author: User

which can find the path where the command is located, then find can also,




where/is the search from the root directory,-TYPEF is (find) the file type,-name "Cat" is the name of cat, in short, the command is to start from the root directory to search out the name of the cat file.

Starting from the root directory, search for the name test.txt file,




Pipeline: give the output from the previous command to the next command to continue processing.




First we use the Find/–type f–name "test.txt" command to find all files named Test.txt from the root directory.




Use the pipeline to find the side of the edge to delete, will be | Before the results found before the | processing,




Search again with find /-type f–name "test.txt" command,




has been removed, the pipe function is manifested.

Linux-32-linux Basic Important Command (L005-14)

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.