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 grep short for?
Using unix command how to display no of records in oracle?
how to unzip the contents of the gzip file
What do chgrp command do?
distinguish between paging and swapping?
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,
Can a process kill itself in UNIX/or in its various versions?
what is difference between unix and linux?
Explain command to display different lines that are found when compare two files?
What is used to type command?
What is in grep command?
what are the different operating systems available?