开发者

shell script writing to a new file

开发者 https://www.devze.com 2023-01-22 11:19 出处:网络
Quick question: If I do the followin开发者_开发百科g, will it create the file, or do I have to do that separately?

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

精彩评论

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