what is the use of "test" command in unix?
Answers were Sorted based on User's Feedback
Answer / samrat biswal
Test is a condition evaluation command.The test command
evaluates the expression if the value is True,returns a
zero exit status; otherwise,a nonzero exit status is
returned.test also returns a nonzero exit status if there
are no arguments.
| Is This Answer Correct ? | 27 Yes | 2 No |
Answer / sourisengupta
test - check file types and compare values
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / manikantan t s
test is very useful on condition checking.
following are the most used options
-r,-w,-x,-f,-d,-eq,-gt,-ge,-lt,-le,-ne,=,!=,-z
| Is This Answer Correct ? | 11 Yes | 4 No |
what is the difference between "cron" command and "at" command?
What is the use of touch command in there?
how will you convert a general file to a hidden file?
If we want to see first 35 lines of a file which command we have to use?
Is grep faster than awk?
What is ctrl d?
What is the procedure of "at" and crontab" commands?
What is the use of find command in unix?
What does this command do,"$more readme.txt“?
How to check the flavor of UNIX?
what is the use of nice command?
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,