Consolidate shell tips

This commit is contained in:
2026-05-19 14:59:34 +02:00
parent 77af4be50c
commit f47a28b359
3 changed files with 29 additions and 120 deletions
+6
View File
@@ -68,3 +68,9 @@ x="$(!!)"
echo $x
for file in $x ; do fortune > $file ; done
```
# See Also
- [Readline](shell/readline.md)
- [Shell tips](shell/shell_tips.md)
+23 -1
View File
@@ -15,5 +15,27 @@ tags:
# Search & Clear Highlights
You can search in many programs by using `/`.
Most programs let you clearn the highlighting with `<Esc>+u`.
Most programs let you clear the highlighting with `<Esc>+u`.
## Track Live Changes
Follow a file as new lines are added to it:
```sh
tail -f *somefile*
```
See changes in a directory, as it changes:
`watch -d ls *directory*`
Or use the `-g` flag to exit once the output changes.
This command will look at whether you're connected to the internet, and turn into a rainbow once the connection hits.
> watch -g ip address && clear && ip address | lolcat
# See Also
- [Bash tips](shell/bash_tips.md)