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 does a process mean?
What UNIX command will control the default file permissions when files are created?
in UNIX,what is the command to remove directory with files?
What is the use of finger command?
What are filter commands in unix?
How do I delete files from command prompt?
why unix operating system provides more security than other operating systems?
What is unix command line?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
What is awk used for?
Explain ‘system calls’ with respect to unix commands?
Which command will you use to change the permissions on file?