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