Linux

configure firewall – the easy way.

2013/04/24

It is good practice to keep iptables/firewall enabled. But configuring it is difficult, do you agree. Not any more 🙂 Install firewall-config sudo yum install firewall-config This will install a GUI …

sendmail or sending mail

2013/04/19

If you want to use sendmail so that you can send all your mails from the local system to your email address, then you have to use sendmail. Now, configuring sendmail has never been that easy and if …

ss – anothre utility to investigate sockets.

2013/04/11

ss is : […] ss is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state informationsthan other tools. […] This comes in …

dnsmasq not starting from NetworkManager with SELinux enabled.

2013/03/16

 Some time back I posted on dnsmasq starting from Network Manager and how to setup dnsmasq. Now, couple of days back , I setup dnsmasq in NetworkManager but was astonished to see that there was no …

slow ssh connection

2013/02/26

If you are experiencing slow ssh connections, then possibly your system is trying to do reverse lookup of the IP address. If that is the case, then you can add the below to “hosts” line in …

ssh reverse tunning..

2013/02/14

If you want to access some local resources like the release website from the remote server when you are connecting to the remoter server using ssh over VPN, then possibly reverse ssh tunnelling is the …

dnsmasq – use with Network Manager.

2013/01/28

 Well if you have not heard about dnsmasq: […] Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. …

Disable a few cores when you want to save power.

2012/12/28

If you have a lot of CPU power and working on battery. If you do not need that much of power and would like to rather save some battery power by disabling some cpus then you can use the below script. …

Battery performance improvement with powertop and using xidel.

2012/12/24

For those of you, who have not heard about powertop, it is a tool to monitor the power consumption on your system. It has a tab which shows the tuneable parameters. Doing the changes suggested in …

quick bash script for datewise backup of directory

2012/12/12

I was working on something and the data was very critical and needed backup. I wrote a bash script to back up the data every 5 hours with cron and bash script. Thought I will share that with you. Here …

Shortcut to run current command with sudo in bash

2012/09/20

For me, I mostly forget to add “sudo” to the command until the time I am actually supposed to run it. Also sometimes, on some systems, bash completion does not work as expected with “sudo”. With these …

Ubuntu – Really force remove a package.

2012/09/17

I was trying to remove a package on one of the Ubuntu installations the other day and was not able to do so. I tried google and tried all the options mentioned in various forums like “-f”, purge, …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it