Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash sh: line [: too many arguments

## put in double quotes
# If like her:
if [ -z $1 ]; then exit 1; fi
# change to
if [ -z "${1}" ]; then exit 1; fi
Comment

PREVIOUS NEXT
Code Example
Shell :: turn off screen linux 
Shell :: git version 
Shell :: uid : unable to do port forwarding: socat not found 
Shell :: update to 21.04 from 20.04 
Shell :: git change comment 
Shell :: debian full install qt5 
Shell :: expo channels list 
Shell :: git commit 
Shell :: npm install package as developer dependency 
Shell :: tasksel: apt-get failed (100) 
Shell :: symfony install website skeleton 
Shell :: ssh copy file from local to remote 
Shell :: register runner gitlab 
Shell :: combine two document together lnux 
Shell :: git new branch push to remote 
Shell :: install torch 
Shell :: gitlab reset password 
Shell :: kill port 3000 ubuntu 
Shell :: installation of docker 
Shell :: install ftp on ubuntu 
Shell :: enospc no space left on device 
Shell :: git diff show only files 
Shell :: ubuntu 20.04 ntfs read only 
Shell :: zsh: command not found: aws 
Shell :: bash delete swap file 
Shell :: enzyme npm install 
Shell :: ssh-add git 
Shell :: install spark on mac 
Shell :: github untrack files 
Shell :: kubectl neat not found 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =