Published: 29 Mar 2021 › Updated: 29 Mar 2021![#Linux 5 [wget, date, sed, man, setterm] useful cli oneliners.](https://i.ecency.com/p/7ohP4GDMGPrUi4oa8yTU7QwSHZ29mRt9qof85ejCza2BU6L8M8FWSXVWF5e71c1MuknQbvAv5p3qmwJW6Kvf6wtBEyYooK1zPetd?format=match&mode=fit&height=377)
#Linux 5 [wget, date, sed, man, setterm] useful cli oneliners.
- WGET Download an entire website with a single command:
wget --random-wait -r -p -e robots=off -U mozilla http://www.example.com
https://www.commandlinefu.com/commands/view/901/download-an-entire-website
DATE Which day would be +90 from now?
date -d "today +90 days"ordate -d "+90 days"
SED Delete blank lines:
strictly emptysed '/^$/d'or with spaces & tabssed '/^\s*$/d'
https://stackoverflow.com/questions/16414410/delete-empty-lines-using-sed
Search MAN pages for a given string:
man -k string
SETTERM Change (and keep it) VT background and foreground:
$ setterm -store -background blue -foreground cyan
please feel free to write comments suggestions and alternatives
Leave #Linux 5 [wget, date, sed, man, setterm] useful cli oneliners. to:
Read more #linux posts