Windows Vs Linux – One more time

2017-04-07 5 min read Linux Uncategorized
Image via Wikipedia One of the most written and commented articles has to be Linux vs Windows (of course there are competitors like vim vs emacs) but none has been covered so much as Linux vs Windows. So, what am I going to write here which is not covered earlier in so many other posts. Well a little different perspective 🙂 We will take this post in points so that we do not divert and its easier for you to comment with quotes to point number 🙂 Continue reading

Find directory/file with inode number

2013-09-10 1 min read Fedora Linux
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 hurry. Did not really care about the error and all I wanted was to get rid of the error but for that I needed to get to the file/directory with inode number mentioned in the error and finally “find” command came to rescue: Continue reading

symlinks -delete all invalid soft links in Linux/Fedora

2012-06-12 1 min read bash Fedora Linux
First of all, install symlinks if it is not installed : sudo yum install symlinks and here is the description: Description : The symlinks utility performs maintenance on symbolic links. Symlinks checks for symlink problems, including dangling symlinks which point to nonexistent files. Symlinks can also automatically convert absolute symlinks to relative symlinks. Install the symlinks package if you need a program for maintaining symlinks on your system. and the help for the same: Continue reading

Creating a chroot environment in Fedora with bash and other utils.

2011-09-19 2 min read bash Fedora Learning Linux
[ad#ad-2] I am testing some of my scripts to work on a very old system and there the versions of the most popular applications are very old, real old :(. So, some of things that I am very used to since last couple of years, do not seem to work as expected and I need to keep verifying a lot of things on the server, very inconvinient to keep testing the script on the server (need to connect on VPN) just to test some very simple things. Continue reading

Inotify Example - Introduction to Inotify with a C Program Example

2010-05-24 1 min read C Programs Learning Linux
<a href="http://www.thegeekstuff.com/2010/04/inotify-c-program-example/">Inotify Example: Introduction to Inotify with a C Program Example: <a class="zem_slink freebase/en/inotify" href="http://en.wikipedia.org/wiki/Inotify" title="Inotify" rel="wikipedia">inotify utility is an effective tool to monitor and notify <a class="zem_slink freebase/en/file_system" href="http://en.wikipedia.org/wiki/File_system" title="File system" rel="wikipedia">filesystem changes. You can specify a list of files and directories that needs to be monitored by inotify. This <a class="zem_slink freebase/guid/9202a8c04000641f8000000000023d0f" href="http://en.wikipedia.org/wiki/Library" title="Library" rel="wikipedia">library is used by various other programs. For example, <a class="zem_slink freebase/en/cpan" href="http://www.cpan.org/" title="CPAN" rel="homepage">CPAN module Linux::Inotify is developed based on this library. Continue reading
Older posts