Linux

Find directory/file with inode number

2013/09/10

Couple of days back, I was getting the following error: […] Directory inode 2362521 has an unallocated block #245823. Allocate? […] And this continued for hours together and I was in a …

Set some disk params to be safe

2013/09/05

It is always “Better safe than sorry” so, here are some things you should do.. First check fstab, if you have partitions other than root then use UUID instead of device: …

Delete all but some directories

2013/08/16

I think, like me, you would have faced a lot of situations, where you wanted to delete all the files or directories in a location, leaving only the required files/directories. So, I have a directory …

LibreOffice – Formulae Auditing

2013/05/30

If you have a excel sheet with lot of formula’s and you are trying to audit them, then a simple solution is to press “ctrl+`” (i.e. control key with back tick). This will put the excel sheet in …

procmail filters – apply to received mails.

2013/05/24

If you already have some mail in your maildir and you have set procmail filters, then it is difficult to apply the procmail filter, right? Not so, you just need to go to the Inbox directory and then …

Manage your servers the easy way with perl script over ssh with no remote client.

2013/05/06

For a long time I have not posted any script. So, its not that I have not written anything new, but just that did not put them here in lack of time. So, here is one interesting one. The original idea …

cksum – compare for multiple files.

2013/04/30

If you have to compare cksum for couple of files, the you know how cumbersome it is. So, I wrote a simple script, wherein you can create a file called cksums in the current directory and copy paste …

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 …


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