Re: Help with first bash script please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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"!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux