bash: Use a file as standard output.



  • Take into account the main readme for this section. README first.

    The default standard output is the display output to the screen.

    For example echo some text.

    $ echo Hello World
    Hello World
    

    Redirection the standard output to a file. The content of the echo is written to the oneworld file.

    $ echo Hello World > oneworld
    $ cat oneworld
    Hello World
    

Log in to reply
 

© Lightnetics 2024