Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How do you create a file in shell script?

touch NewFile.txt
Comment

create a new file in bash script

touch newfile_1.txt
Comment

bash script create file

touch /file.txt
Comment

how to create file in bash script

to make file in a folder in git bash script we use the command line called touch

 steps to follow 
 1 enter in to that folder 
 2 write  "touch fileName"
 3 press enter
 
 eg i want to create a file called index.js
 touch index.js
 
Comment

PREVIOUS NEXT
Code Example
Shell :: how to run cmd run administrator using script 
Shell :: Create A Shared Folder On Linux With Samba 
Shell :: git subtree 
Shell :: how to change your bash setup 
Shell :: check my current branch git 
Shell :: droidcam usb 
Shell :: kubernetes copy files to persistent volume 
Shell :: git bash 
Shell :: git bash command 
Shell :: merge another branch into current 
Shell :: mac terminal screenshot 
Shell :: ubuntu camera not longer found 
Shell :: add user with sudoer centos 
Shell :: conda uninstall tensorflow 
Shell :: how to add filer to git ignore 
Shell :: linux systeme de fichier 
Shell :: centos 6 vm.min_free_kbytes 
Shell :: play vlc as root kali 
Shell :: how to get security details of binary file 
Shell :: ubunut shortcut to open terminal in current folder 
Shell :: how to pass multiple hosts to ansible adhoc command? 
Shell :: how to upgrade my psql client version cloud9 
Shell :: compile file with library in usr/local cmake 
Shell :: powershell cheats 
Shell :: how to install random module in python 
Shell :: docker build non-zero code 100 
Shell :: lavastore js 
Shell :: sudo systemctl enable journalbeat sudo systemctl start journalbeat 
Shell :: git clone epitech 
Shell :: how to make jobs run synchronously on github actions 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =