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

7
doc/bash.md Normal file
View File

@@ -0,0 +1,7 @@
# Articles
- [6 Bash Tricks You Can Use Daily](https://medium.com/for-linux-users/6-bash-tricks-you-can-use-daily-a32abdd8b13)
- [Navigate Your Unix Shell History Like a Boss](https://levelup.gitconnected.com/navigate-your-unix-shell-history-like-a-boss-5722ef45689f)
- [15 Essential Linux Command Line Tips and Tricks](https://medium.com/better-programming/15-essential-linux-command-line-tips-and-tricks-95e2bfa2890f)
- [7 Command-Line Tools That Make Your Life Easier](https://levelup.gitconnected.com/7-command-line-tools-that-make-your-life-easier-d69c38850d6c)
- [Best Practices for Bash Scripts](https://medium.com/better-programming/best-practices-for-bash-scripts-17229889774d)
- [Oh-My-Zsh! A Work of CLI Magic — Tutorial for Ubuntu](https://medium.com/wearetheledger/oh-my-zsh-made-for-cli-lovers-installation-guide-3131ca5491fb)

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