PFranchise
PFranchise

Reputation: 6752

shell script writing to a new file

Quick question: If I do the following, will it create the file, or do I have to do that separately?

 echo "output" > file.txt

Upvotes: 0

Views: 1259

Answers (1)

jlliagre
jlliagre

Reputation: 30813

It will create it unless you have no right to create a file in the current directory.

Upvotes: 2

Related Questions