Say you have this setup:
fileA
carrot
cake
tomato
fileB
bread
cake
croissant
To get the lines that are in FileA but not in FileB you can run:
diff fileB fileA | grep '^>' | sed 's/^>\ //'
to get:
carrot
tomato
sudo -E env “PATH=$PATH” [arguments] OR alias mysudo=’sudo -E env “PATH=$PATH”‘
Run: sudo apt update sudo apt install build-essential followed by: sudo apt-get install manpages-dev
Are you left with a bunch of files that are empty? Run this and delete them: find . -empty -type f | xargs rm
So you have a list of URLs that redirect to downloads (Excel Files, Word Documents, etc) Use this to download all of them and keep the original filename: wget –content-disposition –trust-server-names -i list_of_urls.txt source
Say you have this setup:
fileA
carrot
cake
tomato
fileB
bread
cake
croissant
To get the lines that are in FileA but not in FileB you can run:
diff fileB fileA | grep '^>' | sed 's/^>\ //'
to get:
carrot
tomato
sed 's/[a-z]/\U&/g'
sed 's/[A-Z]/\L&/g'
wget -U “Mozilla/5.0 (X11; U; Linux; en-US; rv:1.9.1.16) Gecko/20110929 Firefox/3.5.16” –recursive –level=1 –no-clobber –page-requisites — html-extension –convert-links –no-parent –wait=3 –random-wait http://www.example.com/docs/interesting-part/ –domains=www.example.com