ajout ressources sur redirections et heredocs

This commit is contained in:
hugogogo
2021-10-15 10:28:43 +02:00
parent 83ebe37270
commit 3e758dc843

View File

@@ -10,13 +10,13 @@
- **expensions :**
- `$` *variable expension*
- `$?` *exit return of last executed process*
- **quotes :**
- `'` *(ignore any special characters)* --> [ressource](https://linuxhandbook.com/quotes-in-bash/)
- **quotes :** --> [ressource](https://linuxhandbook.com/quotes-in-bash/)
- `'` *(ignore any special characters)*
- `"` *(ignore any special characters except '$')*
- **redirection :**
- **redirections & heredocs :** --> [ressource](https://www.gnu.org/software/bash/manual/html_node/Redirections.html) / [heredocs for readability](https://www.techrepublic.com/article/use-heredoc-in-shell-scripts/)
- `<` *redirect input*
- `>` *redirect output*
- `<<` *read input until empty line -- doesn't update history*
- `<<` *read input until empty line --* **? doesn't update history ?**
- `>>` *redirect and append*
- **signals :**
- `^C` *close process*