Useless use of cat awards

2010-06-25 22 min read Linux

<a href="http://partmaps.org/era/unix/award.html#cat">Here you will find some useless use of cat command in linux. Really interesting and quite informative.

Useless Use of Cat Award

If you&#8217;ve been reading <a href="news:comp.unix.shell">comp.unix.shell or any of the related groups <a href="news:comp.unix.questions">(comp.unix.questions inter alia) for any amount of time, this should be a familiar topic.

I made this web page on the topic primarily so I&#8217;d have a simpler URL than one of those ghastly Deja News searches to hand to people. I&#8217;ve tried to reconstruct Randal&#8217;s standard form letter from looking at his postings <a href="http://partmaps.org/era/unix/award.html#forms">(see end) and added some comments of my own.

Continue reading

Getting the list of IOCTLS in the kernel.

2010-06-25 1 min read Linux

Sometime back I was helping one of my friends in looking for all the IOCTLs supported by the kernel. Well we did not find the info we were looking for and thus thought to write a perl script to get all the IOCTLS supported by the kernel. Here it is, simple script to scan through the code and give you a list:

#!/usr/bin/perl —

@files = `grep -r &#8221; _IO&#8221; /usr/src/redhat/SOURCES/linux-2.6.20/* |grep define ioctls_grep`;
open (DAT, &#8221;ioctls_grep&#8221;) ||die &#8221;could not open ioctls_grep&#8221;;
@files = DAT;
close(DAT);
my %ioctls_numbers;
print &#8221;Grep completed..\n&#8221;;
open (DAT, &#8221;ioctls_numbers_found&#8221;);

Continue reading

5-reasons-i-like-linux-and-5-why-i-dislike-it

2010-06-25 1 min read Linux

Last couple of days I was quite busy and thus could not catch up with my bloglines account. Today finally I got some time so am catching up on them and found some interesting things to share with you. Actually wanted to write them myself long time back but still thinking about it. And since someone has already done that, I will link to them. The first one for today is <a href="http://tech.shantanugoel.com/2008/04/20/5-reasons-i-like-linux-and-5-why-i-dislike-it.html" target="_blank">5-reasons-i-like-linux-and-5-why-i-dislike-it. This was not in the list that I was planning to write but some thing similar in line was pending after the distro comparisions I did some time back.

Continue reading

Linux Advertisement – So linux finally decides to do some marketing.

2010-06-25 1 min read Linux

Its been quite some time that people started saying that this is the year of linux, and Linux (like in the Turtle and Hare story) has been growing steadily. There are advocates and critics for the Linux. I sometime think what are the advocates or critics thinking when they are commenting. But let me not get into that. There are circumstances where you would have to stick with windows wheather you like it or not and similar is the case with Linux in this corporate world. Anyway, here is the link to the advertisements:

Continue reading

rpmsave and rpmnew files.

2010-06-25 1 min read Linux

When upgrading an rpm based Linux System, all of us would have seen &#8221;*.rpmsave&#8221; or &#8221;*rpmnew&#8221; files being created. These are the config files in the rpm that rpm utility thinks should be overwritten (creates a *.rpmsave for the earlier file) or should not be overwritten (create *.rpmnew with the new file).

If you ever wondered what to do with these files then you can use this small script that would show the diff between the two files and you can decided which to keep or which to delete.

Continue reading

Viewing archive without extracting.

2010-06-25 1 min read GNOME

I was looking for this option and searched the net to find quite some utilities to do this.

  1. gvfs-archive — Select the file in nautilus and select &#8221;Archive Mounter&#8221; .. simple isn&#8217;t it. Supposed to work but didn&#8217;t work for me.. Though that may be because I am on rawhide.
  2. <a href="http://www.onicos.com/staff/iz/release/mi-arcfs/">mi-arcfs is another kernel dependent module to achieve this.
  3. <a href="http://code.google.com/p/fuse-zip/">fuse-zip from google code is another nice option.

And a nice article on this this is <a href="http://osdir.com/ml/gnome.usability/2003-01/msg00092.html">here.
Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/gnome" rel="tag">gnome, <a class="performancingtags" href="http://technorati.com/tag/archive" rel="tag">archive, <a class="performancingtags" href="http://technorati.com/tag/mount" rel="tag">mount, <a class="performancingtags" href="http://technorati.com/tag/file%20system" rel="tag">file system, <a class="performancingtags" href="http://technorati.com/tag/fs" rel="tag">fs

Continue reading
Older posts Newer posts