echo "something" > filemeans that everything that's in "file" will be deleted, and "something" will be written to it (which means that "something" will be right at the beginning of "file".
echo "something" >> file
"file" will be created if it doesn't exist in both cases.
No comments:
Post a Comment