Get Help Command
Help Command: help | after receiving other internal commands, you can directly enter the help command to query the information of Internal commands.
-- Help Command -- help is mainly used to view the external command. The command is in front of the command: Command -- help press enter to view the corresponding external commands.
Man command: man is used to read the manual page. Other commands are used as parameters. You can write other commands after man. man command is used to read the details of a specified command, the man command is a full-screen text display. Other operations are required to help you move the screen content up or down one line by using the up and down keys on the keyboard, the Page Up and Page Down keys on the keyboard can be used to flip the screen Up or Down. The man command is used for Q operations .) The man command cannot be used independently.
Info command: info is used to read information pages. The command uses other commands as parameters. You can write other commands after info. The info command is used to read the details of a specified command, the info page requires other auxiliary operations. You can use the up and down keys on the keyboard to move the screen content up or down one line, the Page Up and Page Down keys on the keyboard can be used to flip the screen Up or Down. The man command is used for Q operations .) When using info separately, the index of all manual pages in linux is displayed.
Common commands
File and directory operation commands
Directory Operation Command
Ls command: Used to list directories. The current content is displayed only when the file name or directory name is used as the parameter. When the ls command uses the file name as the parameter, the information of the specified file is displayed. When the directory name is used as a parameter, the content in the specified directory is displayed.
Parameters:
-1. Only one file or directory name is displayed in each column.
-A or -- all files and directories.
-A or -- almost-all: all files and directories are displayed, but the current and upper directories are not displayed.
-B or -- escape shows the escape characters.
-B or -- ignore-backups ignores the Backup files and directories.
-C: sort by time to display files and directories.
-C displays the file and directory names in a straight line from left to right.
-D or -- directory displays the directory name rather than its content.
-D or -- dired generates the file and directory list in Emacs mode.
-F the effect of this parameter is the same as that of the "aU" parameter specified at the same time, and the effect of the "lst" parameter is disabled.
-F or -- classify Add "*", "/", "=", "@", respectively after the execution file, directory, Socket, symbolic connection, and MPs queue name ","@", "|.
-The-g parameter will be ignored and will not be processed.
-G or -- no-group does not display the group name.
-H or -- human-readable uses "K", "M", and "G" to display the file and directory size.
-H or -- si: the effect of this parameter is similar to that of the specified "-h" parameter, but the unit is 1024 Bytes rather than Bytes.
-I or -- inode: displays inode numbers of files and directories.
-I <范本样式> Or -- ignore = <范本样式> The name of the file or directory that meets the template style is not displayed.
-K or -- kilobytes this parameter has the same effect as the specified "block-size = 1024" parameter.
-L use the detailed format list.
-L or -- dereference: if a file or directory with the symbolic connection is encountered, the original file or directory pointed to by the connection is directly listed.
-M uses "," to separate the names of each file and directory.
-N or -- numeric-uid-gid replace the name with the user ID and group ID.
-N or -- literal directly lists the file and directory names, including control characters.
-O this parameter works similarly to the specified "-l" parameter, but does not list group names or identifiers.
-P or -- file-type: the effect of this parameter is similar to that of the specified "-F" parameter, but the "*" number is not added after the execution file name.
-Q or -- use hide-control-chars "? "To replace the control character to list the file and directory names.