Duyên Trương
New member
What is the meaning of N string in shell script?
Answer
The [ -n “$1” ] is a test condition which returns true if the length of the string “$1” is non zero. So given a shell script like this: <assuming executable filename abc.sh> … bin/sh.
Answer
The [ -n “$1” ] is a test condition which returns true if the length of the string “$1” is non zero. So given a shell script like this: <assuming executable filename abc.sh> … bin/sh.