Linux basic commands

Source: Internet
Author: User
Tags parent directory

A 1:ls directory and file under the specified path

2:ls-l can display file detail properties

650) this.width=650; "title=" 36017290510466862.png "alt=" Ee72d2a591b98a2c65e282696fa0dae5.png-wh_ "src=" https:// S1.51cto.com/oss/201711/19/ee72d2a591b98a2c65e282696fa0dae5.png-wh_500x0-wm_3-wmp_4-s_851994141.png "/>

3:ls-h can do unit conversions

4:LS-A displays a hidden file (.) that begins with a. = current directory. Represents the parent directory)

650) this.width=650; "title=" 360179209019988100.png "alt=" 2a791dec82ec7399e033a7b35bc158a5.png-wh_ "src=" https:// S4.51cto.com/oss/201711/19/2a791dec82ec7399e033a7b35bc158a5.png-wh_500x0-wm_3-wmp_4-s_3142191278.png "/>

5:ls-d Display the directory itself property

6:LS-R Reverse Display

7:ls-r Recursive display

8:PWD View current Directory

650) this.width=650; "title=" 360170010276772125.png "alt=" 70a077680befff6691573715c1e0fe34.png-wh_ "src=" https:// S2.51cto.com/oss/201711/19/70a077680befff6691573715c1e0fe34.png-wh_500x0-wm_3-wmp_4-s_2373076363.png "/>

Two 1:CD/directory name switch current directory

2:CD not add any parameters to the home directory

3:cd~username into the specified user home directory

4:cd-switch back and forth between the current directory and the previous directory

650) this.width=650; "title=" 36016520820588391.png "alt=" 0c3346327fd781e84ec6a8237831d5e4.png-wh_ "src=" https:// S5.51cto.com/oss/201711/19/0c3346327fd781e84ec6a8237831d5e4.png-wh_500x0-wm_3-wmp_4-s_820108507.png "/>

Three 1:shutdown-n now shutdown

Linux basic 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.