[ ! -z $4 ]


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [ ! -z $4 ]
# 1  
Old 02-17-2009
[ ! -z $4 ]

Hi ,

Code:
 
What is the significance of " $ " in [ ! -z $4 ] .

Kindly guide.

Regards
# 2  
Old 02-17-2009
! = not
-z = true if empty
$4 = positional parameter number 4
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question