FILE REDIRECTION

  • Command input can be taken from a file with: <

  • Command output can be redirected to a file with: >

  • Command output can be appended to a file with: >>

  • Examples:
    $ echo "smoothing=10mm" > settings.txt
    $ echo "No lowpass" >> settings.txt
    $ cat settings.txt
    smoothing=10mm
    No lowpass