What is the use of "test" command?
Answers were Sorted based on User's Feedback
Answer / satchi
"Test" command checks file and directory types and checks
value.
EX: create a empty file test (touch test)
if test -f test
then
echo "File is nonempty"
else
echo "file is empty"
fi
There are different options like -d -b -e.You can explore
all.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / manhar chavan
Simply test command is compare two values. it check whether
it is right or wrong.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to sort a result of Ls -l command based on columns. Ex. i want to sort 5th column from output of ls -l command.
How to print some text on to the screen?
What is the difference between scripting and coding?
why did you apply to shell
How to handle the delimiter unit seperator in Unix
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
If one dont know how to create a script then how he/she can use the QTP?
What is difference between shell and bash scripting?
What are different types of shell?
Hi Friends, I am currently Undergoing Course On Testing.I am Planning To Keep Fake Resume.Can any One tell me the ways to Prepare i.e, Real Time experience For Manual Testing. With Regards, Vikram
Write the syntax for "if" conditionals in linux?
how did u debugging in unix/ linux platform ??( project Related)