Thursday, April 6, 2017

cli: Difference between >> and > operators

Just to refresh and for personal note.
This is apply to all L/Unix.
  • Operator >> will append text to a file.
  • Operator > will overwrite the data in file.

References:

  • http://unix.stackexchange.com/questions/64374/difference-between-and-operators