June 23, 2015

find a file or document in mac osx using find command in terminal

Example : find . -name "server.xml"

find - it's the command to search for files recursively in the specified directory

here the "." specifies the find command to search in the current directory and it's sub directories

"server.xml" is the name of the file we need to search for in the current and it's sub directories


Usage: find -name


May 09, 2015

installed directory of dk-filter milter in ubuntu

PID of dk-filter will be saved at /var/run/dk-filter/dk-filter.pid

Unix socket of dk-filter will be available at /var/run/dk-filter/dk-filter.sock

Binary of dk-filter will be saved at /usr/bin

Configuration file of dk-filter will be found under /etc/default/dk-filter



Configuring dk-filter with postfix through unix socket

smtpd_milters = unix:/dk-filter/dk-filter.sock
non_smtpd_milters = unix:/dk-filter/dk-filter.sock



February 23, 2015

Chrome: Shortcut (key combinations to use) to get the closed tab open back without going to history.

Some times by mistake we will be closing the browser tab's page. Use the following key combination to re open.

On Mac Book,

Shift + Command + T

To reopen the closed pages using mouse/ touch pad,

1) Open new tab

2) Right click on the new tab's title bar as like shown below.

3) Choose Reopen Closed Tab


Please feel free to comment if you are frequent with any other key combinations or shortcuts.