Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create directory linux

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 
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #create #directory #linux
ADD COMMENT
Topic
Name
3+2 =