Change information for the user on Linux machine.

2009-12-19 1 min read Linux

Today I have couple of hours to spare and thus thought might as well spend it on my blog. The finger command in *nix systems is used to display the information on the users. This information is taken from the /etc/passwd file. You can use the chfn command to change the information. Man page for <a href="http://amit.themafia.info/phpMan.php?parameter=chfn&mode=man" target="_blank">chfn.

Chrome – Chromium on Linux (repo)

2009-12-19 1 min read Fedora

Fedora people put up a repo for the chrome web browser and it is quite frequently updated. All you need to do to install the browser is following:

sudo vi /etc/yum.repos.d/chrome.repo

and add the following lines

name=Chromium Test Packages
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/
enabled=1
gpgcheck=0

Once this is done, you can install the browser with yum as follows:

sudo yum install chromium

[[danscartoon]]

Opens Four Google Frames At Once

2009-12-19 0 min read Learning Uncategorized
\"Google
Image via Wikipedia

Googlegooglegooglegoogle: Opens Four <a class="zem_slink" title="Google" rel="homepage" href="http://google.com">Google Frames At Once Googlegooglegooglegoogle (that is Google times 4!) is a simple <a class="zem_slink" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website/<a class="zem_slink" title="Homepage" rel="wikipedia" href="http://en.wikipedia.org/wiki/Homepage">startpage that puts four Google search windows in one page. It basically displays four frames so that you do not have to leave the page to search simultaneously. This tool is incredibly useful for Google power searchers.
<img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/g4_thumb.png" alt="" align="bottom" />

Continue reading

Yahoo adds Glue to make search more useful

2009-12-19 2 min read Linux

The article is so good in itself that I need not say anything more than giving the <a href="http://www.guardian.co.uk/technology/blog/2008/nov/20/yahoo-glue" target="_blank">link.

Way back in May, I posted technology/blog/2008/may/09/yahootriesglueinindia&#8221;>Yahoo tries Glue in India, which said: &#8221;Most big search companies are experimenting with the idea of comprehensive search pages that show lots of different results — text, images, video etc — instead of just text. Google calls it Universal Search. Yahoo&#8217;s is Glue, and a beta version has just been launched in India.&#8221;

Continue reading

check out http://browsershots.org/

2009-12-19 1 min read Learning Uncategorized

If you are a web developer and are worried about how your <a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia">website would look like in the various browsers and do not have the resources to test all the browsers, what do you do? Check out the <a class="zem_slink" href="http://en.wikipedia.org/wiki/Web_page" title="Web page" rel="wikipedia">webpage at

<a href="http://browsershots.org/">http://browsershots.org/<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.macstories.net/iphone/website-iphone/">Setting Up Your Website to Run on iPhone Browser (macstories.net) <div class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/8d5363f4-7641-40c8-b111-4a4d12d41ba5/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e36.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

Display a block of text with delineated by a start pattern and an end pattern

2009-12-18 1 min read Bash

Taken idea from commandlinefu.com

The command will display a segment from the file from the start pattern to the end pattern.

function viewsegment() { tail -n +`fgrep -n -m 1 “$1” $3 | head -`fgrep -n -m 1 “$2” $3 }
Display a block of text with delineated by a start pattern and an end pattern

Older posts Newer posts