Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

terminal command to create new file

touch filename.txt
Comment

create new file terminal

touch filename.extension
Comment

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 
Comment

how to create new file through terminal

touch bar.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: git merge develop to feature branch 
Shell :: Kali - How to Uninstall Software on Kali Linux 
Shell :: how to kill process ubuntu 
Shell :: prittier download ubuntu 
Shell :: vagrant vbox guest additions install 
Shell :: wsl2 ubuntu 
Shell :: reload fstab 
Shell :: ubuntu iso download 
Shell :: mongodb clone database 
Shell :: rmdir not empty 
Shell :: how to install brew on mac 
Shell :: cluster_block_exception 
Shell :: git push origin master not working 
Shell :: docker splunk 
Shell :: bash size file 
Shell :: how to uninstall a software in ubuntu 
Shell :: git stash with a message 
Shell :: where is www folder ubuntu 
Shell :: @react-navigation/stack install npm 
Shell :: start Gui on your Ubuntu 20.04 system from cli 
Shell :: install portainer docker 
Shell :: install chromedriver on linux 
Shell :: What is the difference between git push origin and git push origin master 
Shell :: git commit example 
Shell :: linux shuton after time 
Shell :: linux dd show progress 
Shell :: testing cors 
Shell :: git add origin command 
Shell :: resolve merge conflicts git 
Shell :: ignore line format in git 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =