Fedora 12 Released

2010-03-12 0 min read Fedora
\"Image
Image via CrunchBase

Fedora 12, the latest version of the popular open-source operating systems for desktops and servers, has been released: ”The Fedora Project, a Red Hat, Inc. sponsored and community-supported open source collaboration, today announced the availability of Fedora 12, the latest version of its free, open-source operating system distribution…..

Continue reading

Build custom KDE ditro online in minutes with your selection of packages

2010-03-10 1 min read Linux

There’s a new guy in the block and its called NimbleX. From various sources, I have found that this is quite fast. I am downloading this currently. The main advantage is that the distro is of just 200MB with most of the day to day utilities available in the distro by default.

<img title="Custom Nimble" src="http://blog.amit-agarwal.com/wp-content/uploads//logos/customNXb1.png" alt="Custom Nimble" width="264" height="67" />

And if you think that this is just not for you as you like some package and its missing from NimbleX, no problem. Just go <a href="http://custom.nimblex.net/ " target="_blank">here, and create your own live distro withing minutes with custom package&#8217;s that can be used as Live CD or can be installed on the HDD/USB. Now that&#8217;s generations ahead of Windows or any other OS. What do you say?

Continue reading

101 Linux hacks – free Linux Ebook

2010-03-09 1 min read Linux

Go and grab your copy of the free <a href="http://feedproxy.google.com/~r/TheGeekStuff/~3/KNUpyY4YE9c/" target="_blank">ebook.

Quite nice book with small little hacks but sometimes the details are too much, specially the one on the cd command. I think there was no need for 3-4 examples of the same thing, but then nice collection and nice ebook.

Bash histoy – common history in different terminals

2010-03-04 1 min read Bash Linux

I have been looking to do this for sometime. The bash history is per
session basis and the last session to quit overwrites the bash_history
file and thus all other terminals started between the time last terminal
lasted does not get to write the commands in the history file. Secondly
the history gets cluttered with lot of duplicate entries and entries
with ls and cd commands. So finally I added these to the bashrc file:

Continue reading

Bash Sub Shells

2010-03-02 1 min read Bash

Taken from <a href="http://www.linuxjournal.com/content/bash-sub-shells" target="_blank">here.

<span class=\"c\">#!/bin/bash</span>

<span class="nv">server_cmd</span><span class="o">=</span>server <span class="nv">pid_file</span><span class="o">=</span><span class="k">$(</span>basename <span class="nv">$server_cmd</span> .sh<span class="k">)</span>.pid <span class="nv">log_file</span><span class="o">=</span><span class="k">$(</span>basename <span class="nv">$server_cmd</span> .sh<span class="k">)</span>.log

<span class="o">(</span> <span class="nb">echo</span> <span class="s2">"Starting server"</span> <span class="nb">echo</span> <span class="s2">"Doing some init work"</span> <span class="nv">$server_cmd</span> <span class="c"># server becomes a daemon</span>

&lt;span class=\"k\">while &lt;/span>&lt;span class=\"nb\">true&lt;/span>

<span class="nb"> </span><span class="k">do</span> <span class="k"> if</span> <span class="o">[[</span> -f <span class="nv">$pid_file</span> <span class="o">]]</span>; <span class="k">then</span> <span class="k"> </span>sleep 15 <span class="k">else</span> <span class="k"> </span><span class="nb">break</span> <span class="nb"> </span><span class="k">fi</span> <span class="k"> done</span> <span class="k"> </span>mail -s <span class="s2">"Server exitted"</span> joe@blow.com <<<CRAP

Continue reading

Annotating the photograph with comments.

2010-02-10 1 min read Fedora Linux Photo

There is a nice Linux command called convert. This command can be used in various ways to do image manipulation. One of them is to embark your image with some text. Here is how to do it.

**echo &#8221;Annotating the image &#8221;$2&#8221; with $1&#8221;
convert -font  Verdana -pointsize 40 -fill red -draw &#8221;text 100,100 &#8221;$1&#8221;&#8221; &#8221;$2&#8221; &#8221;$2&#8221;
**

It will be good idea to save this as &#8221;annotate&#8221; as we will use this later too.

Continue reading

Script to Watch for Ubuntu 9.10 Launch – can be used in other scenarios.

2010-02-10 1 min read Linux

I know ubuntu is out already but this is something that you can use to monitor a webpage.

This script will run check a for the Ubuntu 9.10 launch once every 5 mins and let you know when it&#8217;s available:

while [ 1 ]; do if [ -z \"`curl -I \"http://cdimage.ubuntu.com/releases/9.10/release/\"|grep \"404\"`\" ]; then kdialog --msgbox \"9.10 Released\"; exit; fi; sleep 300;  done

<a href="http://feedads.g.doubleclick.net/~a/99XcDO7_UNXZESNlOirXkV4_tfA/0/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/99XcDO7_UNXZESNlOirXkV4_tfA/0/di" alt="" align="bottom" />
<a href="http://feedads.g.doubleclick.net/~a/99XcDO7_UNXZESNlOirXkV4_tfA/1/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/99XcDO7_UNXZESNlOirXkV4_tfA/1/di" alt="" align="bottom" />

Continue reading
Older posts Newer posts