One,CD switch directory
1 Full Name: Change Directory
2 Usage:
Cd
CD ~: Back to home directory
CD ~username: Back to USERNAME's home directory
CD-: Switch directly between the previous directory and the current directory
Second,pwd Displays the current absolute path
1 Full Name: Print working directory
Iii. The history of Bash features
1 The number of saved bars is determined by the environment variable Histsize
2 Permanent save location for user exit: determined by the environment variable histfile, usually in the user's home directory. Bash_history
Maximum number of this file can be saved: determined by the environment variable Histfilesize
3 usage
History N: Displays the nearest n, including the current command itself;
History-c: Emptying the command history;
history-d offset: Deletes the command entry at the specified offset;
History-a [/path/to/somewhere]: Writes a history entry in the current session to the specified file.
4 Call History command
! N: Executes the nth command in the command;
!: Executes the previous command;
!string: Executes the last command in a command that starts with a string;
!$: Invokes the last parameter of the previous command;
ESE,.: Ibid.
Iv.Ctrl + C to terminate the execution of the current command
LS Displays the file in the current directory
-a displays include. and. All the files
-A does not show hidden files
-L
Help
1 built-in Commands help command
2 external commands
COMMAND--help
Man: Manual Manual
A There are chapters, General 1-9 chapters, man [#] COMMAND
b See which chapters of the command are helpful: Whatis command
C Manual paragraph:
Name: command names;
DESCRIPTION: A detailed description of the command function
Options: All option
Synopsis: Using formats
EXAMPLES: Example
See ALSO: Other manuals available
Format substring in D Help
[]: Can be omitted
<>: not omitted
| : Two select one or more
...: Similar content can appear multiple
e How to use
Flip Screen
This article is from the "Squirrel" blog, please be sure to keep this source http://apinetree.blog.51cto.com/714152/1651519
Linux Base Command Collection