Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run sh from terminal mac

chmod +x fileName
bash fileName
Comment

shell script mac

#!/usr/bin/env bash
echo "Hello posterity!"

# file name should have the .sh extention
# remember to make your file executable by running: chmod +x script-name,sh
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 :: comment lines in nano 
Shell :: how to install centos 9 stream 
Shell :: how to boot pendrive with ventoy in linux 
Shell :: how do you run a lisp file with sbcl 
Shell :: powershell format table sort 
Shell :: team modify preffix minecraft 1.18 
Shell :: how to install brew 
Shell :: Create subdomain | Nginx | Fish Shell 
Shell :: git comands 
Shell :: the repo coud not download 
Shell :: git ssh setup agent bashrc 
Shell :: If the {string} part is omitted, it is considered as an empty string, and the matched pattern is deleted. The following command deletes all instances of the string ‘foo’ in the current line 
Shell :: bash combine Exit command and exit codes to build quick logic 
Shell :: Extract your external IP address using dig 
Shell :: how to connect airpods to kali linux 
Shell :: install curecoin-qt on mint 19 
Shell :: build pdf from tex file linux 
Shell :: linux change filename batch 
Shell :: remove thunar with its dependency 
Shell :: git the .git folder (to manage your local repo cloned many remote repos) 
Shell :: bash temporary files 
Shell :: shell command operator and seperator control characters 
Shell :: Brave Beta on OpenSUSE 15+ 
Shell :: pip install ldap-utils for ldapsearch 
Shell :: kubernetes pod init command run 
Shell :: linux server disable embeded screen 
Shell :: view block devices and file systems on linux 
Shell :: prometheus label __meta_docker_container_name with docker-compose 
Shell :: find the used port windows command spcfique 
Shell :: Composer Terminal Valet 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =