The first chapter, Linux common commands

Source: Internet
Author: User

20161124 Linux Common commands

1. Find

find/etc/-size +50k-ls

find/etc/-size +50k-ls 2>/dev/null

View files larger than 50K in the directory and display them with the LS list,

Understand the meaning of 2>/dev/null and hide all the rights


2, pwd, LS, ls-a, Ls-al,, Ls-alh,touch, make,

Common Ls-alh


3. Standard input and output piping

Cat > 1127.www.qixoo.qixoo.com/packages1.txt After entering content, press Enter,ctrl+d to save exit

Cat 1.txt > 2.txt (Overlay)

Cat 1.txt >> 2.txt (Append)

4, pipe character |

Use the piping technique to extract the cat commands from the experiment and save them in a file named CAT1:
History | grep cat > CAT1

Cat CAT1 View

The first chapter, Linux common commands

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.