Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 
 
PREVIOUS NEXT
Tagged: #create #file #terminal
ADD COMMENT
Topic
Name
1+3 =