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 shell application?
Explain about "s" permission bit in a file?
What is a program shell?
Where is bash history?
Is powershell a bash?
How do I start a shell script?
What is the command to find out users on the system?
What are script files?
What is option in shell script?
What is a batch file used for?
Given a file find the count of lines containing the word "abc".
What does egrep mean?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What is path in shell script?
Explain about echo command?