On Tuesday 14 November 2006 20:56, Boyan Tabakov wrote: > On 14.11.2006 21:48, Nigel Henry wrote: > > On Tuesday 14 November 2006 04:16, kitts wrote: > > > On Tuesday 14 November 2006 01:11 IST, Nigel Henry wrote: > > > > Thanks Kitts. That's worked first go. I thought I'd have to cd to the > > > > working directory first before running the command, but wasn't sure > > > > how to go after cd'ing. What does the "&&" actually do? > > > > > > It's the bash scripting language. "&&" means to execute the command on > > > the left and if it is successful execute the command on the right. > > > Before i replied to you i had tried something similar but used ";" > > > (semicolon) instead of "&&". The only difference using the semicolon is > > > that continue with the command on the right even if the command on the > > > left fails. > > > > > > You might want to pick up some guide on bash scripting to lean more. It > > > is quite powerful! :-) > > > > Hi Kitts. yes I appreciate that. I have been through the man pages for > > bash, and it's pretty hard going. It would be nice if there were some > > examples that you could try, with explanations as to what these scripts > > were doing. Any suggestions, apart from the man pages? > > Try googling 'bash tutorials' or 'bash examples'. There are lots of things > that would come out. Yeh. Kitts has just mentioned those. I know I'm not young anymore. and it's not too easy to remember stuff, but I suppose I should put some effort in, as I'm using Linux 100%. Nigel. ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.