Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

if argument exists bash

if [ -z "$1" ]
  then
    echo "No argument supplied"
fi

if ["$1" ]
  then
    echo "Argument supplied is: "$1
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: install mailspring ubuntu 
Shell :: ubuntu turn off monitor 
Shell :: mac httpd stop 
Shell :: install pip on raspberry pi 
Shell :: pandoc download ubuntu 
Shell :: extract tar.gz mac command line 
Shell :: uninstall packages raspberry pi terminal 
Shell :: vlc install linux 
Shell :: ubuntu 20 change display resolution 
Shell :: install .deb ubuntu 20.04 
Shell :: uninstall cheese ubuntu 20.04 
Shell :: make fish as default shell 
Shell :: pip command to install xlrd version 1.2.0 
Shell :: Load key ".pem": bad permissions 
Shell :: You must install graphviz to plot tree mac 
Shell :: epub reader on ubuntu 
Shell :: refresh env variable windows powershell 
Shell :: how to install git lfs on mac 
Shell :: install webpack cli 
Shell :: certbot apache site 
Shell :: is linux bad 
Shell :: git merge continue 
Shell :: install redis brew 
Shell :: mvn command not found ubuntu 
Shell :: install pygame on mac 
Shell :: downgrade react 18 to 17 
Shell :: powershell get all history 
Shell :: activate git case sensitive windows 
Shell :: git push existing repo 
Shell :: ubuntu 20.04 pip2 install 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =