10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
I am attempting to complete the below script which will do the following (skip the ping part) using Bash.
Prompts the user to type in a URL to download, or to type exit to exit the script.
If a URL is typed, wget to download the webpage and then loop back to prompting for a... (2 Replies)
Discussion started by: Jgerds1990
2. Shell Programming and Scripting
I need to download a zip file from my the below US govt link.
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
3. Shell Programming and Scripting
check this script it jump to else part, in n both cases,
(if files exist or not)
wget $MIRROR/kkk.zip && wget $MIRROR/jjj.zip
echo -e "$RED Ooops, Download links are broken...! $RESET"
echo -e "$GREEN Everything is fine, Cheers ... $RESET"
fi (4 Replies)
Discussion started by: nimafire
4. Shell Programming and Scripting
Can a modified command be used to download multiple source codes from specific sites and output each into a separate output file?. All the sites are in a text file (attached):
wget -qO- http://www.genedx.com/test-catalog/available-tests/edar-gene-sequencing/ | cat > output.txt (4 Replies)
Discussion started by: cmccabe
5. Shell Programming and Scripting
i have a file ABC_*.txt in source directory which will come evry 30 min and same file will be moved to working directory first time ...and will perform some operations then we archive ABC_*.txt ..this will run for 30 min to 45 min
from 2nd time onwards requirement is ...i need to check... (3 Replies)
Discussion started by: dssyadav
6. Shell Programming and Scripting
I am using wget to call a url..i am getting 202 if it is successful. if not i am forcing the response code to 417.
how can i capture the response code and print 0 if it is 202 and 1 if it is not 202
any ideas, please share
Jack. (2 Replies)
Discussion started by: jack3698
7. UNIX for Dummies Questions & Answers
Where can I find the source code to basic unix core utilities like less, wget, and unzip?
I'm on a HP-UX system that is missing a lot of basic tools. I Don't have admin access to the box. Google searches won't give me the source code.
I would like to install some of the missing tools, like... (4 Replies)
Discussion started by: goldfish
8. Shell Programming and Scripting
I am trying to get the status code of a web request,size of the download file and response time using wget.
When i use the command: wget <sitename> ,it gives all these parameters in the command line.But i want to get these values seperately and assign in different variables using shell script.Is... (2 Replies)
Discussion started by: rajbal
9. Shell Programming and Scripting
I need to redirect stdout and stderr to a file in a ksh shell. That's not a problem. But I need also the correct exit code for the executed command. In the example below I redirect correctly the stdout & stderr to a file, but I have the exit code of tee command and not for the mv... (2 Replies)
Discussion started by: up69
10. UNIX for Dummies Questions & Answers
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747