what is the use of "test" command in unix?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the md command do?

578


What is the functionality of a top command?

628


why metadb requires a seperate slice to create Solaris volume manager

2558


What is sed awk grep?

609


What is the use of finger command?

603






What do chgrp command do?

596


How can you see the command line history?

588


What's a command word?

592


Which command can you use to find the currently running process in unix server?

592


What is the search command in unix?

609


What is the first character of the output in ls l command?

637


What are the commands in UNIX to list the files in a Directory?

622


Explain command to display different lines that are found when compare two files?

679


Is it inbetween or in between?

589


Who invented grep?

657