On Mon, 24 Feb 2003, Derek Vadala wrote: >I've tried several variations of line 5 to no avail. Suggestions >appreciated. I think I'm just missing basic info on which shell runs >during the installation process, that way I could look up the correct >syntaxes. I'd guess bash, but that's just a guess. "env > /tmp/shellclues" should give you enough to work it out. You could rewrite your script as: numdisks=`grep -cw 'sd$' /proc/devices` Cheers, Phil