Answers for "how to create a new file using windows terminal"

1

how to create file in terminal in windows

type nul > filename. txt .
Posted by: Guest on October-05-2021
1

create new file in terminal

To create a new folder/directory
mkdir foldername

To view the contents of your folder
cd foldername -- to get inside the folder
then
ls or dir -- to view contents of the folder

To create a new file 
touch example.txt -- filename and extension eg .js .html .txt
Posted by: Guest on July-25-2021

Code answers related to "how to create a new file using windows terminal"

Browse Popular Code Answers by Language