Wget Examples

1. Download a single file from the Internet wget http://domain.com/file.iso 2. Download a file but save it locally under a different name wget ‐‐output-document=filename.html domain.com 3. Download a file and save it in a specific folder wget ‐‐directory-prefix=folder/subfolder domain.com 4.…

Sed 1-liners

A more refined post than http://devnull.mine.nu/2015/05/30/sed-example-tutorials/  with numerous 1-liners for sed, orginally taken from here http://www.pement.org/sed/sed1line.txt  many thanks! 😀 FILE SPACING: # double space a file sed G # double space a file which already has blank lines in it. Output file…