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!