Answers for "create new file in terminal"

6

terminal command to create new file

touch filename.txt
Posted by: Guest on April-27-2020
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
0

how to create new file through terminal

touch bar.txt
Posted by: Guest on May-06-2020
0

how to create a file in terminal

$ mkdir -p turtle/images
Posted by: Guest on February-02-2021

Code answers related to "create new file in terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language