I have the following line in my shell script:
export URL=file://myhost/system.log
wget -v $URL
When I tried to run the script it give me the following error:
file://myhost/system.log: Unsupported scheme.
Does it mean wget supports http and ftp ONLY?
man wgetshows:Try curl, it supports file URLs. Also note you probably want three slashes here. Two belong to the protocol indicator (file://) and one belongs to the path (/myhost/system.log)