Project Management Answers

What command can you use to create a file using bash?

Q: What command can you use to create a file using bash?

or

Q: With bash, which command can you use to create a file?

  • cat
  • ls
  • touch
  • mkfile

Explanation: Simply change the word “filename” to the name you wish to give the new file you’re going to create. If the file is already there, touch will update the timestamp that indicates the last time it was modified. If the file does not already exist, touch will create a new, empty file using the name you provide.

Leave a Reply

Your email address will not be published. Required fields are marked *