ajout ressources sur redirections et heredocs
This commit is contained in:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user