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 |
which command is used to stop a running process in unix?
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,
Which command will you use to change the permissions on file?
Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?
How to set sticky bit, or it have any seperate directory to create sticky bit in sunfir servers. Please help me , i don't no the exact answer?
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Differentiate cat command from more command.
Where LOG fiels resides in AIX and pls tel me how to remove the log file
What is shrinking file system in AIX where it actually resides?
How many unix commands are there?
Are you in or at the office?