Answered step by step
Verified Expert Solution
Question
1 Approved Answer
-z $1 $1 $1 : -z $1 $1 $1 : -z $1 $1 $1 : This is a very tricky and tough question.It is asking
-z "$1" $1 $1 :
-z $1 $1 $1 :
-z "$1" "$1" "$1" :
This is a very tricky and tough question.It is asking to fill five missing parts but has only four blanks
HINTS: 1. DON'T write/test this on matrix. Use your own Linux VM instead. 2. Use your MySeneca instead of jbond007 when testing your script. 3. Every blank '_' shown below is ANY character from [a-z0-9"$:-]. 4. Fill FIVE MISSING PARTS to make this work, hints in prev steps. $ cat hello.bash # TWO blanks need to be filled in here if [ fi ]; then >&2 echo "ERROR! Usage: script requires at least one argument" exit 1 # THREE blanks need to be filled in here if scp jbond007@matrix. senecacollege.ca_uli101; then was copied to your uli101 directory on matrix" echo "SUCCESS! else >&2 echo "ERROR! Cannot connect to matrix. Is GlobalConnect VPN running?" exit 1 fi Incorrect. Try again. n has following content.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started