shell script writing to a new file
Quick question: If I do the followin开发者_开发百科g, will it create the file, or do I have to do that separately?
echo "output" > file.txt
It will create it unless you have no right to create a file in the current directory.
精彩评论