1

I'm sure that there are many ways to do this (cat > foo.txt, vim, etc) a la https://www.cyberciti.biz/faq/create-files-in-linux-unix-from-bash/ but I'm not advanced enough to understand if there's anything else that's being done by using these different commands to create my file (e.g., perhaps a file created in vim has different properties than one created with the cat command above).

Looking to maximize ease, speed and purity (no additional properties) of the file created. Thanks!

zangiku
  • 57
  • 1
  • 12

1 Answers1

2

Very easy is to use touch :

touch myfile
wake-0
  • 3,918
  • 5
  • 28
  • 45