Unix Tutorial

Creating Files

There are several ways to create a file. The two I know of are using “touch” and “cat.” Using the former is simple; the syntax is “touch file.ext” where file.ext is the filename. Using cat is a little more complicated, as it involves directing the output of the cat command to a file. That will be covered later.

touch
Previous Home Next