Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you're suffering from PEBCAC ;)

You can append content to a file using >>:

PS C:\Users\rich> "Foo" > 1.txt

PS C:\Users\rich> cat .\1.txt

Foo

PS C:\Users\rich> "Bar" >> 1.txt

PS C:\Users\rich> cat .\1.txt

Foo

Bar



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: