Browser and OS stats on my blog

2010-01-16 0 min read Uncategorized
\"{{en|Summary:
Image via Wikipedia

I have been thinking of posting this for some time, but here are some stats from my <a class="zem_slink freebase/en/website" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website:

OS Stats :

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/OS.jpg"><img class="size-full wp-image-1516" title="OS stats for blog.amit-agarwal.co.in" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/OS.jpg" alt="OS stats for blog.amit-agarwal.co.in" width="429" height="311" />

Continue reading

Remove Invalid characters in Filename.

2010-01-10 1 min read Linux Photo

Sometimes I end up having some invalid characters in filename like ? & and so on.

So simple bash script to get rid of them:

for i in `find . -type f`
do
echo $i
mv $i `echo $i |tr ? _|tr = _ |tr &#8217;&&#8217; &#8217;_&#8217;`
done <a name="more">

Sendmail host map failure issue with sendmail.

2010-01-07 1 min read Linux

I was having this issue for long time with sendmail and not getting time to fix this. Finally today I found the solution.
<span style="font-weight: bold;">define(`confBIND_OPTS&#8217;, `WorkAroundBrokenAAAA&#8217;)dnl
Add the above line in the sendmail.mc file and rebuild sendmail.cf.

Done. Quite simple but really took some time for me to fix.<span style="font-weight: bold;">
Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/Linux" rel="tag">Linux, <a class="performancingtags" href="http://technorati.com/tag/sendmail" rel="tag">sendmail, <a class="performancingtags" href="http://technorati.com/tag/AAAA" rel="tag">AAAA, <a class="performancingtags" href="http://technorati.com/tag/failure" rel="tag">failure

Continue reading

Finding all the executables/binary in Linux rpm based distro.

2010-01-03 1 min read Linux

I have been thinking about this for quite sometime now, how to find all the executables on the linux system. One of the way is to do a &#8221;ls&#8221; on all the directories in the PATH variable. But that will not list the executables that are outside of the PATH. So, I wrote this one liner :

rpm -qal |agrep &#8221;bin\/&#8221; > all_execs

This will list all the files in the Linux system in bin or sbin directory and that should be pretty much all the binaries in the system.

Continue reading

Fedora 12 demonstrates sandbox for desktop applications

2010-01-03 1 min read Linux

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Security-Enhanced Linux (SELinux) specialist and Red Hat developer Dan Walsh has souped up the security mechanisms in Fedora and SELinux by adding a desktop sandbox which he&#8217;s calling “sandbox -X”. Users can run desktop applications of their choice inside his sandbox, which then protects the underlying system from any possible damage.

A browser started inside the sandbox is unable to damage the host system.
SELinux extends the standard Unix privileges concept to add a role-based privilege model which, in principal, allows a user to forbid a PDF viewer from, for example, sending email. Currently, however, SELinux is mainly used to wall off server services.
<a HREF="http://www.h-online.com/security/Fedora-12-demonstrates-sandbox-for-desktop-applications–/news/114298">read more <table CELLSPACING="0" CELLPADDING="0" WIDTH="100%">

Continue reading

Some Rather Old But Still Funny Anti-UNIX Jokes (One Liners)

2009-12-28 3 min read Linux

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/12/unix-jokes1.jpg"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/unix-jokes1.jpg" alt="" align="bottom" />You may have heard a lot of anti-<a class="zem_slink freebase/en/microsoft" title="Microsoft" rel="homepage" href="http://www.microsoft.com">Microsoft jokes before since you can read them everywhere. However, it&#8217;s pretty rare to find anti-UNIX/Linux jokes. So I would like to share with you some pretty old but still funny anti-UNIX one-liners. Enjoy!

  • If <a class="zem_slink freebase/en/unix" title="Unix" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unix">Unix is the answer, then it must have been a stupid question.

    Continue reading

Nifty Things to Do with GIMP

2009-12-26 1 min read Linux Photo

Nifty Things to Do with GIMP Some of us are probably addicted to capturing moments in pictures. I can understand why. It’s one of those things that help us go back to the good old days, so to speak. It’s also something that creates a ‘time machine’ for us because those pictures show us what things looked like, not just remind us of the feeling but give us the atmosphere all over again.

Continue reading
Older posts Newer posts