Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run shell script linux

$ 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

running shell script

./filename.sh
Comment

Running shell scripts

You can run a shell script by specifying the shell:


bash script.sh


Or you can execute the shell script like this:


./script.sh
Comment

PREVIOUS NEXT
Code Example
Shell :: rails 6 action_mailbox:install not working 
Shell :: https local 
Shell :: powershell recursive copy skip if file already exists 
Shell :: yum mongodb ubuntu 16.04 
Shell :: ncdu exclude 
Shell :: run rpush 
Shell :: how to source scripts in same folder bash 
Shell :: can i setup 2fa for my ubuntu ssh 
Shell :: bash numbering odd filename 
Shell :: download m3u8 ts files as mp4 
Shell :: wp plugin install through code 
Shell :: Shell command, operator and separator/control characters: 
Shell :: ubuntu /not root-owned 0:1001 
Shell :: windows key not raising window in ubuntu 
Shell :: awk alternative linux 
Shell :: get file info linux 
Shell :: dpkg: error processing archive /var/cache/apt/archives/influxdb_1.8.10-1_amd64.deb (--unpack): 
Shell :: How to turn on ARD on mac using terminal for specific users 
Shell :: create fake json from terminal 
Shell :: &quot;scrapy shell&quot; pass cookies to fetch 
Shell :: condition expected: grep 
Shell :: gradle dolast 
Shell :: source code not available.. 
Shell :: vmd script 
Shell :: install calibre on centos terminal 
Shell :: change directory in linux 
Shell :: linux zip current directory 
Shell :: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied 
Shell :: [ERROR] An error occurred while running subprocess capacitor. 
Shell :: grep in multiple files 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =