Answer Posted / madhavi
test is used to validate an expression in shell script.
for ex:in if loop ,is used as follows
if test a > b
{
#some statements
}
fi
instead of
if [ a > b ]
{
#some statements
}
fi
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the different types of shell scripting?
What is a shell script? Can you name some of its advantages?
Explain about shebang?
Is it possible to substitute "ls" command in the place of "echo" command?
Why are there shells on the beach?
What is the use of "$#" in shell scripting?
What is awk in shell script?
What are the zombie processes?
How do you create a shortcut in linux?
What exactly is a shell?
What is the difference between bash and shell?
What are different types of shell?
What language is bash?
What language is bash written in?
How to set an array in linux?