Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to run bash scripts

# Give the script file correct permssions $chmod 744 <name of scipt file e.g script.sh>
$ chmod 744 script.sh 

#now the file is ready to run run it with $ ./<name of scirpt file e.g. script.sh>
$ ./script.sh
Comment

how to execute a bash script in terminal

$ chmod +x fileName
$ ./fileName
Comment

PREVIOUS NEXT
Code Example
Shell :: how to view hidden files in mac terminal 
Shell :: kubeadm get discovery-token-ca-cert-hash command openssl 
Shell :: how to stash specific file in git 
Shell :: cannot send file to server with nginx 
Shell :: debian mongodb 
Shell :: install vuex orm 
Shell :: bash list all files in directory and subdirectories 
Shell :: aws cli on heroku 
Shell :: aos animate install 
Shell :: how to create hotspot in kali linux terminal 
Shell :: rsync ssh 
Shell :: how to start gnome desktop on fedora terminal 
Shell :: shorten the linux terminal path 
Shell :: how to compress files using terminal in linux 
Shell :: uninstall teams on ubuntu 
Shell :: add user centos 7 sudo 
Shell :: install google assistant on linux 
Shell :: how to open a file using terminal 
Shell :: vim :qa! 
Shell :: restore staged github 
Shell :: node ffmpeg 
Shell :: openssl list certificate chain 
Shell :: start of .sh file 
Shell :: update ruby version ubuntu 
Shell :: curl certificate and password 
Shell :: how to put a youtube video in github description 
Shell :: git remove from history 
Shell :: open video linux terminal 
Shell :: how to make top bar transparent ubuntu 
Shell :: get current directory batch 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =