touch command in linux code example
Example 1: touch command
touch test.txt
// this creates a file called test.txt
Example 2: touch command in windows
type nul > .gitignore ---This creates empty file and works on windows 10.
touch test.txt
// this creates a file called test.txt
type nul > .gitignore ---This creates empty file and works on windows 10.