diff --git a/shell/shell_tips.md b/shell/shell_tips.md index b99b987..a3e8e9d 100644 --- a/shell/shell_tips.md +++ b/shell/shell_tips.md @@ -22,6 +22,8 @@ ls -l file1 file2 cat !^ ``` +**NB:** this only works when running `bash` interactively, never in scripts. + # Done `` @@ -29,9 +31,8 @@ cat !^ - If you have a command, Control + d will execute the command. - If you have nothing, `exit`. -# Clear Search Highlights +# Search & Clear Highlights -`+u` - -Works in most programs with search. +You can search in many programs by using `/`. +Most programs let you clearn the highlighting with `+u`.