I have a script like so
and the error message I am getting is
cannot stat `download.txt': No such file or directory
My guess is that wget is somehow executing after the cp command even when it is before cp in the shell script?
Code:
#!/bin/sh
wget -O download.txt "[URL unfurl="true"]http://www.someurl.com"[/URL]
cp download.txt temp_download.txt
and the error message I am getting is
cannot stat `download.txt': No such file or directory
My guess is that wget is somehow executing after the cp command even when it is before cp in the shell script?