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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of time_t?

645


Which command is used to kill the last background job?

777


What is .sh file?

617


Who invented grep?

651


What is the nmap command?

583






What is the difference between grep and grep?

566


Explain command to view process running?

613


What is the use of find command in unix?

579


What is the use of awk command in unix?

581


What is rmdir command?

553


Why is it called a shebang?

569


What is the use of cut command in unix?

690


What difference between cmp and diff commands?

722


Enlist some filename manipulation commands in unix.

549


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

676