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 file permissions in Unix, and how are they represented?
What is file system in unix??
How can you change the owner or group of a file?
what do you understand by 'building block primitive'?
How many bits use for MAC address?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
Describe the usage and functionality of the command rm –r * in unix?
If JFS file system is 100% full how we can increase the file system ?
What is grep r?
Which command is used to find whether the system is 32 bit or 64 bit?
In UNIX, what is the command to kill a process?
what is the command to find out which shell you are running?