# I/O Redirections #### Standard Output Redirige la sortie standart vers un nouveau fichier: ```bash bruno@macbook-pro:~$ ls > liste.txt ``` Redirige la sortie standart vers un fichier (ajoute à la suite): ```bash bruno@macbook-pro:~$ ls >> liste.txt ``` #### Standard Input Considère liste.txt comme entrée standart (au lieu du clavier): ```bash bruno@macbook-pro:~$ sort < liste.txt ``` #### On peut combiner les 2 ```bash bruno@macbook-pro:~$ sort < liste.txt > liste_triee.txt ```