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 :: install google assistant on linux 
Shell :: get bluetooth devices powershell 
Shell :: git clone with different name 
Shell :: Copy directory from local host to remote server 
Shell :: error: src refspec master does not match any 
Shell :: git Removing Files Only From the Staging Area 
Shell :: git revert to old commit 
Shell :: how to convert back to JSON in powershell 
Shell :: remove .env file from git history 
Shell :: restore staged github 
Shell :: ls permission 
Shell :: bash add comma to end of line 
Shell :: instal maven in mac brew 
Shell :: open folder from terminal ubuntu 
Shell :: start of .sh file 
Shell :: github readme images 
Shell :: video not working linux 
Shell :: git ignore file is not working 
Shell :: how to add remote branch 
Shell :: removing duplicate input from a file in the command line 
Shell :: git use cat instead of less 
Shell :: rename branch in git 
Shell :: repo from bitbucket to github 
Shell :: git set-url no such remote origin 
Shell :: linux how to write to file 
Shell :: gulp trust cert 
Shell :: git tag from commit 
Shell :: git move file 
Shell :: append two image terminal 
Shell :: install tar.xz on linux 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =