bash

bash

Bash shortcuts Enable color prompt Edit .bashrc, add following Logging Linux Commands for all users Bash if statement Bash Script

postfix

postfix

postfix no local interface found SASL authentication no mechanism available Postfix Delete Mails from a user install postfix from source

Configure postfix to relay mails using SendGrid

Configure postfix to relay mails using SendGrid

To use postfix to send email using sendgrid, you first you need to install postfix on your server. Edit main.cf

spam

spam

http://www.mail-tester.com/ https://glockapps.com/ https://www.mailchannels.com – used by hosting providers to stop outgoing spam. DMARC grscripts.com – ASSP based plugin for cpanel

fping

fping

fping can be used to ping multiple IP and get report. If you just want to show if hosts are

DirectAdmin CustomBuild versions.txt is getting old

DirectAdmin CustomBuild versions.txt is getting old

I got following email from DirectAdmin server. New Message: CustomBuild versions.txt is getting old on s1.serverok.in A new message or

postfix no local interface found

postfix no local interface found

When starting postfix it failed with following error To fix, edit /etc/postfix/main.cf Find Replace with See postfix

subprocess installed post-installation script returned error

subprocess installed post-installation script returned error

When installing software on Ubuntu, i get following error. To fix this, run Replace PACKAGE_NAME_HERE with actual package that fail.

cdn

cdn

https://aws.amazon.com/cloudfront/ https://bunny.net/ https://www.fastly.com StackPath CDN https://www.keycdn.com https://www.5centscdn.net – $50 per month for 3 TB Traffic. Used by safaritvchannel.com for video

update-alternatives

update-alternatives

Set default editor in Ubuntu To change vi editor run To display current vi config, run

tmux

tmux

CTRL+B % Split window vertically CTRL+B “ Split window horizontally CTRL+B c Create new window CTRL+B d Detach tmux session

apt doesn’t support architecture i386

apt doesn’t support architecture i386

After adding facebook hhvm repository on Ubuntu 16.04, i get following error when running “apt update” command. This is fixed