[CentOS] Auto exit lftp on bash script

Benjamin Donnachie benjamin at py-soft.co.uk
Tue Jan 26 19:43:52 UTC 2010

2010/1/26 Alan Hoffmeister <alangtk at gmail.com>:
> how can I exit lftp and finish the bash?

Use the -c flag instead?

>From the manpage:

     -c commands
          Execute the given commands and exit.  Commands  can  be
          separated with a semicolon, `&&' or `||'.


More information about the CentOS mailing list