split shell tips into bash and shell

This commit is contained in:
2026-04-27 17:08:41 +02:00
parent 3a7a92de14
commit d53ca311c1
2 changed files with 70 additions and 19 deletions

View File

@@ -5,25 +5,6 @@ tags:
- comfy
---
# This & That
Refer to 'that last thing', and 'the first thing':
```sh
fortune -l > file1
cat !$ | tr -d u
diff !^ !$
```
**NB:** this can go wrong:
```sh
ls -l file1 file2
cat !^
```
**NB:** this only works when running `bash` interactively, never in scripts.
# Done
`<C-d>`