inotify -watch for file to change

Here is a simple command for you. It uses inotify tools. So first you need to install : sudo yum…

Continue Reading →

vim – yank/xopy in different register to paste

Very quick update, to use registers, you can select and then yank in a register to paste using the same…

Continue Reading →

Find directory/file with inode number

Couple of days back, I was getting the following error: Directory inode 2362521 has an unallocated block #245823.  Allocate? And…

Continue Reading →