Skip to content

Bit #38

Quickly write to a file through command line:

  • Replace whole file
    Terminal window
    echo "Hello world" | cat > hello.txt
  • Append to end of file
    Terminal window
    echo "Hello world" | cat >> hello.txt