Check These Out
This commando copies the file (which must reside in the current directory) to //<server>/<share-name>/<subdirectory>/<file> through the CIFS protocol (Samba share or Windows Share). It doesn't require you to mount the filesystem first.
--directory "<subdirectory>" may be omitted in order to copy the file the the root of the share.
The "%password" part may also be omitted. If doing so, smbclient will ask for the password interactively.
To copy a file from a Windows/Samba share, change "put" for "get".
$ smbclient --user=user%password --directory "<subdirectory>" --command "get <file>" //<server>/<share-name>
First get a api key for google url shortner from here https://developers.google.com/url-shortener/
Then replace the API_KEY in the command
This is a 'killall' command equivalent where it is not available.
Prior to executing it, set the environment variable USERNAME to the username, whose processes you want to kill or replace the username with the $USERNAME on the command above.
Side effect: If any processes from other users, are running with a parameter of $USERNAME, they will be killed as well (assuming you are running this as root user)
[-9] in square brackets at the end of the command is optional and strongly suggested to be your last resort. I do not like to use it as the killed process leaves a lot of mess behind.
Looking for carriage returns would also identify files with legacy mac line endings. To fix both types:
$ perl -i -pe 's/\r\n?/\n/g' $(find . -type f -exec fgrep -l $'\r' "{}" \;)
I'm just a simple programmer. I find dig too verbose. host tells me alias(es) and IP address in a quick to grok format with nothing special to remember for input parameters.
With thanks to http://www.cyberciti.biz/faq/how-to-test-or-check-reverse-dns/
If your locale has Monday as the first day of the week, like mine in the UK, change the two $7 into $6
wget http://nginx.org/download/nginx-1.15.3.tar.gz && tar -xzf 1.15.3.tar.gz && cd nginx-1.15.3