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 is a scripting language simple definition?
Explain about debugging?
How will you copy a file from one machine to other?
write a shell script to check the failed jobs?
What does $@ mean bash?
How to print all array elements and their respective indexes?
What is batch file programming?
How will you pass and access arguments to a script in linux?
How can I send a mail with a compressed file as an attachment?
What are the advantages of shell scripting?
How do I open a jshell in cmd?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What is in a script?
Can we run shell script in windows?
Is shell scripting easy to learn?