From 6a33521f335f3021d3cacdea75d6bdc98a7f8eb6 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Mon, 27 Apr 2026 13:35:22 +0200 Subject: [PATCH] edit shell tips --- shell/shell_tips.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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`.