search

Loading

Sunday, June 23, 2013

Script to check whether dropbox (dropboxd daemon) is running in linux server using command line

Now a days more people are using dropbox for backup in linux servers. Dropbox is a great product which has their client in all major platforms. So this is really ideal for using in linux servers too.

Dropbox runs dropboxd daemon in the server to check for updates and syncing the contents between its clients across different platforms. Sometimes this daemon will get killed and our backup process will be in jeopardy.

Saturday, June 8, 2013

Delete all iptables rules in linux

We have seen how to remove a particular IP from the iptables rule. Now what if we want to remove all the iptables rule?

We can use the below command to remove all iptables rule.

How to remove a rule from iptables

I want to remove a rule from iptables which used to block one of the IPs to and from the server. How can I remove it? We will find it below.

IP which is blocked: 123.456.78.90


This will basically cut off all the tcp communication from and to my server for the IP 123.456.78.90

Thursday, June 6, 2013

Wednesday, June 5, 2013