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 |
What is shell and terminal?
What is computer cli?
How can you find out how long the system has been running?
Explain about debugging?
how to read systems current date and time
What is batch file programming?
How would you compare the strings in a shell script?
If one dont know how to create a script then how he/she can use the QTP?
write a non recursive shell script that accepts any number of arguments and prints them in the reverse order
How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"
If you have a string "one two three", which shell command would you use to extract the strings?
What is the difference between a 'thread' and a 'process'?