1. The IP address displayed in Ubuntu:Ifconfig
2. Ubuntu system file command:
Cat: displays all text files. Format: CAT filename
More: display the file content, display by PAGE, and press enter to flip down one line by one. Format: More filename
Less: displays the file content. It is displayed by PAGE and can be turned up. Format: less filename
Ls: view directories and files. Format: ls [-A/-R] dir.
-A (show all files)-R (show properties)
CP: copy an object.
MV: Move a file.
RM: delete a file or directory.
Find: Find the file.
GRAP: Search for strings in the file.
PWD: displays the current directory.
Mkdir: create a directory.
Rmdir: delete an empty directory.
CD: Switch the directory.
3. Management Group:
Gpasswd [-a user] [-D user] [-a user,...] [-M User,...] [-R] [-R] groupname
Parameter meaning:
-A: Add a user to a group
-D: delete a user from a group.
-A: Specifies the administrator.
-M: the specified group member is similar to-.
-R: Delete the password.
-R: restrict user logon to the group. Only members in the group can use newgrp to join the group.
4. Switch users: Su user