Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run sh from terminal mac

chmod +x fileName
bash fileName
Comment

how to run .sh script in mac

#Set file to execute mode
chmod +x fileName.sh

#Run script
sh fileName.sh
Comment

PREVIOUS NEXT
Code Example
Shell :: send file to aws ec2 termnal 
Shell :: poetry install 
Shell :: ubuntu install apache 
Shell :: remove ds_store git 
Shell :: git revert last commit keep changes 
Shell :: git reset soft head 
Shell :: linux document root 
Shell :: choco upgrade 
Shell :: pgadmin4 container 
Shell :: extract rpm in linux 
Shell :: jekyll run 
Shell :: how to install visual studio code in ubuntu 
Shell :: git stash pop index 
Shell :: how to update google chrome in ubuntu 20.04 
Shell :: kubernetes delete everything 
Shell :: bash get name of current script 
Shell :: [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. 
Shell :: find pip install directory 
Shell :: kill port linus 
Shell :: windows service delete 
Shell :: hwo to add custom commands in bash 
Shell :: download nodejs ubuntu linux 
Shell :: pip install package to specific directory 
Shell :: installing react router dom with yarn 
Shell :: add a cookie to curl 
Shell :: git diff meld 
Shell :: run springboot as a service linux 
Shell :: disable aslr 
Shell :: pip install pygame 
Shell :: create a repo using github api 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =