Is there a benefit of creating a file with touch prior to edit.. like:touch foovi fooversus getting it to editor straight-away? Like:vi fooI see quite a few tutorials using the former (touch then vi).
Use of touch and vi?
shell;vi;touch
touching the file first confirms that you actually have the ability to create the file, rather than wasting time in an editor only to find out that the filesystem is read-only or some other problem.