touch linux create text file in directory code example
Example 1: create file in linux
touch <filename>.<extension>
Example 2: cat create file
cat >"filename"
Example 3: linux how to add a file to directory
$ wget <url>
touch <filename>.<extension>
cat >"filename"
$ wget <url>