开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜