how to use wget download and rename


Use wget in Linux to download the web page file and save it to /home/test/ and name it cmdhelp.html


wget -b "" -O /home/test/cmdhelp.html


wget :  non-interactive network retriever
-c :  background download
-O :  save as file


Continuing in background, pid 1957.
Output will be written to ‘wget-log’.
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.