docs:tips_n_tricks:bash.html
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:tips_n_tricks:bash.html [09.03.2024 01:48 CET] – created peter | docs:tips_n_tricks:bash.html [07.04.2024 15:23 CEST] (current) – [Undo edits in history] peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
bind 'set revert-all-at-newline on' | bind 'set revert-all-at-newline on' | ||
- | __References__: | + | __References__: |
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
- | " | + | ===== History operations ===== |
+ | ==== Save history without exiting bash ==== | ||
+ | history | ||
+ | ==== Show history | ||
+ | HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S ' history | ||
+ | ==== Undo edits in history ==== | ||
- | __References__: | + | |M-r (or ESC,r) |Restore last version| |
+ | |//erase line and press ENTER//|:::| | ||
+ | |C-x,C-u |Undo last key| | ||
+ | |C-_ |:::| | ||
+ | |C-/ |:::| | ||
+ | __References__: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * A comment to [[https:// | ||
+ | |||
+ | ===== Bash Prompt ===== | ||
+ | |||
+ | * http:// |
docs/tips_n_tricks/bash.html.1709945323.txt.gz · Last modified: 09.03.2024 01:48 CET by peter