Help with first bash script please

Filippos Klironomos PresarioD at gmail.com
Thu Oct 21 15:15:19 UTC 2004


>
> 3 if [$6 == 'F']
> 

Leave a space always between the [ and ]

if [ $6 == "F" ]

also look at here:

http://tldp.org/cgi-bin/ldpsrch.cgi

you can pick the one you find simple :-)

I personally prefer the "Advanced BASH scripting guide"!




More information about the fedora-list mailing list