type nul > your_file.txt
npm install touch-cli -g
echo . > your_file.txt
ECHO text>file1.txt
type nul > .gitignore ---This creates empty file and works on windows 10.
wsl touch textfilenametoedit.txt