I know using command > file will write the stdout of command to file, but is there a similar method to append to file?
command > file
command > file will clobber the file and replace all data with stdout.
command >> file will append stdout to the file. (meaning the value of stdout is tacked to the end of the file).
command >> file
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago