mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-26 03:46:30 +08:00
parent
ad0c149319
commit
c24faf0205
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ Scope:
|
||||||
|
|
||||||
- In Bash, use **ctrl-r** to search through command history.
|
- In Bash, use **ctrl-r** to search through command history.
|
||||||
|
|
||||||
- In Bash, use **ctrl-w** to delete the last word, and **ctrl-u** to delete the whole line. Use **alt-Left** and **alt-Right** to move by word, and **ctrl-k** to kill to the end of the line. See `man readline` for all the default keybindings in Bash. There are a lot. For example **alt-.** cycles through previous arguments, and **alt-*** expands a glob.
|
- In Bash, use **ctrl-w** to delete the last word, and **ctrl-u** to delete the whole line. Use **alt-b** and **alt-f** to move by word, and **ctrl-k** to kill to the end of the line. See `man readline` for all the default keybindings in Bash. There are a lot. For example **alt-.** cycles through previous arguments, and **alt-*** expands a glob.
|
||||||
|
|
||||||
- To go back to the previous working directory: `cd -`
|
- To go back to the previous working directory: `cd -`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue