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 :** - **expensions :**
- `$` *variable expension* - `$` *variable expension*
- `$?` *exit return of last executed process* - `$?` *exit return of last executed process*
- **quotes :** - **quotes :** --> [ressource](https://linuxhandbook.com/quotes-in-bash/)
- `'` *(ignore any special characters)* --> [ressource](https://linuxhandbook.com/quotes-in-bash/) - `'` *(ignore any special characters)*
- `"` *(ignore any special characters except '$')* - `"` *(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 input*
- `>` *redirect output* - `>` *redirect output*
- `<<` *read input until empty line -- doesn't update history* - `<<` *read input until empty line --* **? doesn't update history ?**
- `>>` *redirect and append* - `>>` *redirect and append*
- **signals :** - **signals :**
- `^C` *close process* - `^C` *close process*