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 are the unix commands?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
How to create hardlinks and softlinks on files?
what is tar command and what are the different types of tar commands?
What is the procedure of "at" and crontab" commands?
what is telnet?
What is ctrl d?
What is the difference between grep and grep?
What is the behavioural difference between cmp and diff commands?
distinguish between paging and swapping?
What is the functions of zambie process?
How does the user view the contents of a text file in UNIX?