More doc about Bash

This commit is contained in:
Martin Blazik
2020-09-28 18:59:59 +02:00
parent 57eda76518
commit f27c444257
2 changed files with 19 additions and 0 deletions

View File

@@ -18,6 +18,12 @@ cd -
sudo su
```
### Bash
```bash
mv /path/readme.md{,.backup} # mv /path/readme.md /path/readme.md.backup
```
### To explore
- ag
- fzf
@@ -36,10 +42,16 @@ usermod - modifu user account
### Tools
- [ShellCheck](https://github.com/koalaman/shellcheck) A shell script static analysis tool
- [direnv](https://direnv.net/) Directory specific variables
- [cheat](https://github.com/cheat/cheat)
- [enhancd](https://github.com/b4b4r07/enhancd) A next-generation cd command with an interactive filter
- [autojump](https://github.com/wting/autojump) A faster way to navigate your filesystem
- [BAT](https://github.com/sharkdp/bat) [root.cz](https://www.root.cz/clanky/nahrada-utility-cat-nastrojem-bat-a-ccat/) Supports syntax highlighting for a large number of programming and markup languages
- yq - YAML processor - jq wrapper for YAML documents
- jq - JSON processor
- tldr - basic command usage
- thefuck
- mount | column -t ; cat /etc/passwd | column -t -s :
- awk '!seen[$0]++' # remove duplicate lines
## Kubernetes
```bash