bash script problem

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

 



my getvinux.sh script isn't running correctly and I'm not sure bash has 
anything in it that can solve this problem.  I have a script that is 
downloading a vinux iso.  I have an md5sum command after that wget 
command.  The md5sum command executes before the iso is finished 
downloading and I'd like to have the md5sum command run only after the iso 
has completed its download.  The script follows:



--------------------------------------------------------------------------- 
jude <jdashiel@xxxxxxxxxxxxxx> About to block another web browser version?  
Ask yourself what Tim Berners-lee would do.
#!/bin/bash
# file: getvinux.sh - get latest vinux
wget -b --trust-server-names http://vinuxproject.org/Downloads/V4.0/vinux-4.0-desktop-i386.iso.md5 &&
wget -b --trust-server-names http://vinuxproject.org/Downloads/V4.0/vinux-4.0-desktop-i386.iso &&
date >>getvinux.log &&
md5sum --check --quiet vinux-4.0-desktop-i386.iso >>getvinux.log &&
exit 0

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]