Use Ctrl+r to enter a letter to invoke a previously entered command
For example:
$ at the same time press CTRL+R after
Interface Display (Reverse-i-search) ": grep can invoke the grep command that was previously used
\a Alert alerts will emit ringtones
\b Backspace. Backspace
\e Escape. Character conversion
\f Form feed. Page change
\ Newline. Line break
\ r Carriage return. Enter
\ t Horizontal tab.
\v Vertical tab.
\ \ backslash. Escape
Clear Screen command clear; Or use the shortcut key directly ctrl+l
Standard input:redirecting Standard Input. REDIRECT standard input using ' < '
Standard output:redirecting Standard Output. REDIRECT standard output using ' > ' or append output ' >> '
Standard error:redirecting Standard Error. REDIRECT standard error ' 2> ' $apropos shells 2> command.error
To redirect both standard output and standard error to the same file, use ' &> ' instead
Pipelines:building pipelines. Build pipelines using ' | '
、
This article is from the "Missed Footsteps" blog, please be sure to keep this source http://xxmspace.blog.51cto.com/1056016/1539350