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