Linux self-Study series-use of common instructions

Source: Internet
Author: User

1. View the contents of the directory
>ls//listing the file information in the directory
>ls-l//View the catalog file with "more information"
>LS-A//View Directory "All" (including hidden files) files
>ls-al//View Directory "All" (including hidden files) files with "details"

2. Make a directory switch
>CD dirname//directory switch (dirname is the folder name in the current directory)
>CD. Switch to the previous level directory

3. See the full operating position
>pwd

4. User Switching
>SU-or Su-root//normal user switch to root user
>exit//Return to original user
>SU User name//switch for normal user

5. See who the current user is
>whoami

6. Graphical interface and command interface switch
Prerequisites: Must be a super administrator, such as root
①, graphical interface to the command interface:
>init 3

②, the command interface goes to the graphical interface:
>init 5

7. View the language of the current system
Prerequisites: Must be a super administrator, such as root
>echo $LANG

Linux self-Study series-use of common instructions

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.