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

Describe the usage and functionality of the command rm –r * in unix?

818


What is the unix command to confirm a remote host is alive or not?

574


How can we use grep command in unix?

608


What does the md command do?

564


How do I search a whole word in vim?

683






Is grep faster than awk?

555


What is grep in bash?

579


What is the command to view process running?

568


What's a command word?

581


How do I delete files from command prompt?

549


How many unix commands are there?

616


What is the functionality of a top command?

618


Write a command to kill the last background job?

611


Can you explain a little bit about command substitution?

599


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

581