Thursday, 25 October 2018

macos - Append stdout to file from terminal?


I know using command > file will write the stdout of command to file, but is there a similar method to append to file?



Answer



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).


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...