Added command examples from external blogs

This commit is contained in:
Michele Cereda
2023-02-07 16:04:57 +01:00
parent 6151dde1d0
commit f4455f598f
10 changed files with 145 additions and 47 deletions

18
knowledge base/rm.md Normal file
View File

@@ -0,0 +1,18 @@
# Rm
## TL;DR
```sh
# Remove all files but the ones specified.
rm !('path/to/file')
rm !(*.xls|*.slsx|*.csv)
```
## Sources
- [18 selected super-useful Linux one-liners]
<!-- project's references -->
<!-- internal references -->
<!-- external references -->
[18 selected super-useful linux one-liners]: https://medium.com/codex/18-selected-super-useful-linux-one-liners-398ba6d20f8c