Nice Link on Linux.
Lot of good humour and nice articles of linux.
Find <a href="http://www.geocities.com/CapeCanaveral/Lab/5735/1/">here
Lot of good humour and nice articles of linux.
Find <a href="http://www.geocities.com/CapeCanaveral/Lab/5735/1/">here
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# For how to set up magic space for Bash see:
# – http://www.ukuug.org/events/linux2003/papers/bash_tips/#slide15
# – http://codesnippets.joyent.com/posts/show/1690
man bash 2>/dev/null | less -p ’magic-space’
man bash 2>/dev/null | less -p ’Event Designators’
man bash 2>/dev/null | less -p ’\!#’ # ”The entire <a class="zem_slink" title="Command-line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command-line_interface">command line typed so far.”
<a href="http://snippets.dzone.com/posts/show/10265">Read more :<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.makeuseof.com/tag/trigger-wake-lan-mac-address/">How To Trigger Wake On LAN Using The MAC Address (makeuseof.com) <li class="zemanta-article-ul-li"><a href="http://smarterware.org/4271/projectview-lists-your-todo-txt-by-project">Projectview Lists Your Todo.txt by Project (smarterware.org) <li class="zemanta-article-ul-li"><a href="http://helpdeskgeek.com/linux-tips/shell-script-backup-directory-linux/">Back Up a Directory in Linux using a Shell Script (helpdeskgeek.com) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/038d79c3-59e6-41ad-a8ad-31d1af669509/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e39.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related pretty-attribution">
When upgrading an rpm based Linux System, all of us would have seen ”*.rpmsave” or ”*rpmnew” 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 readingProblem:
I had a directory with a lot of config files in the ini file format, i.e. name and value separated by equals. Some/all of these contained some directory names and other values which had to be replaced. But there were other place where I should not not replace them, if there was no exact match. I also needed to have a backup copy of the file that I was modifying. Since the number of files that I needed to change was multiple so was quite difficult to do it without using some script.
Continue reading<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
$ vmstat 2 10 | awk 'NR > 2 {print NR, $13}' | gnuplot -e “set terminal png;set output 'v.png';plot '-' u 1:2 t 'cpu' w linespoints;" draw `vmstat ` data using gnuplot
<a HREF="http://www.commandlinefu.com"><img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg" ALIGN="bottom" ALT="commandlinefu.com"/>
by David Winterbottom (<a HREF="http://codeinthehole.com">codeinthehole.com)
Continue reading<a href="http://www.designplace.org/scripts.php?page=1amp;c_id=25">Using PHP to search a MySQL database and return paged results
Link above to the article. I am using this as base to do some programming of my own for my website. When I am done I can post few more details, till then…………