Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash add help argument

if [ "$1" == "-h" ]; then
  echo "Usage: `basename $0` [somestuff]"
  exit 0
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: heroku remove branch 
Shell :: How to Edit connections in Ubuntu 
Shell :: patch: command not found 
Shell :: install automapper asp.net core mvc 
Shell :: commit changes from different branches 
Shell :: create new repository on the command line 
Shell :: Docker - Container is not running 
Shell :: how to push code to bitbucket 
Shell :: Git - delete specific branch 
Shell :: configure github account ubuntu 
Shell :: docker commit 
Shell :: fastlane match update certificate 
Shell :: add user centos 7 sudo 
Shell :: kde vs gnome vs xfce 
Shell :: batch file if statement 
Shell :: pipi ungrade 
Shell :: uncommit local commit 
Shell :: commitlint install 
Shell :: run disk usage analyzer as root 
Shell :: bashrc sleep command 
Shell :: bin bash header 
Shell :: expo uninstall 
Shell :: best source code editor 
Shell :: putty export / download all sessions 
Shell :: gunicorn 
Shell :: sudo apt-get install jpeg 
Shell :: git repo example 
Shell :: linux repeat command every 5 minutes 
Shell :: print screen in ubuntu to folder 
Shell :: Pull Ubuntu image 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =