Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

if argument supplied 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 :: conda install tweepy 
Shell :: adb logcat unity 
Shell :: vim wsl copy to windows system clipboard 
Shell :: du sort by size 
Shell :: how to stop a port from listening 
Shell :: disable firewall ubuntu 
Shell :: indicator stickynotes 
Shell :: vlc popos 
Shell :: how to uninstall wps office in ubuntu 
Shell :: restart nautilus from terminal 
Shell :: uninstall cheese ubuntu 
Shell :: make fish as default 
Shell :: grub customizer ubuntu 
Shell :: test nginx config mac 
Shell :: docker runlike 
Shell :: git remove remote tracking branch 
Shell :: how to open matlab in ubuntu 
Shell :: centos install netstat 
Shell :: pip install chromedriver 
Shell :: certbot add new domain pache 
Shell :: linux run command in loop 
Shell :: git can we reset a new branch to a specific commit 
Shell :: how to uninstall everything in pip 
Shell :: angular cli global update 
Shell :: laravel routes not working on production 
Shell :: cd: permission denied: 
Shell :: Clear powershell console history 
Shell :: git track filename capitalisation 
Shell :: bash get current date 
Shell :: ionic capacitor run android live reload 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =