linux - How do I append text to a file? -
what easiest way append text file in linux?
i had at question, accepted answer uses additional program (sed
) i'm sure there should easier way echo
or similar.
cat >> filename text, perhaps pasted in other source. or else entered @ keyboard, doesn't matter. ^d
essentially, can dump text want file. ctrl-d sends end-of-file signal, terminates input , returns shell.
Comments
Post a Comment