Edit a File When You Are Viewing It Using more / less Command
<a href="http://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/">Aritcle here.
<a href="http://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/">Aritcle here.
<span style="color: #ff0000;">Question: I can use <a href="http://www.cyberciti.biz/tips/less-is-more-the-hidden-treasure-of-less-command.html">less or more pagers to view a file. How do I start an editor (such as vi or other text editor) to edit the current file without leaving the less or more pager command?
Continue readingAlmost 100 articles and blogs on the topic of “ubuntu sucks” were published in the past month alone, and about as many were published that unequivocally state Windows is better than Ubuntu.<table border="0">
<span style="font-size: x-small;">
But upon closer examination, I found that a substantial portion of these negative reactions to Ubuntu stem from unrealistic comparisons.
Almost all of the hurdles people seem to have when switching from Windows to Ubuntu appear to be errors in judgment and assessment, rather than actual problems with the OS.
Continue reading<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Putting Linux on Parental Control
Over the years I?ve witnessed desktop Linux distros evolve
dramatically ? change the very core of the way we look at how an
operating system interacts with its users. However, I still find plenty
of forum posts on the Web stating that Linux as a
URL:<a href=" http://c.moreover.com/click/here.pl?r2243375620&w=2390512"> http://c.moreover.com/click/here.pl?r2243375620&w=2390512
<a href="http://bashcurescancer.com/prepend-to-a-file-with-sponge-from-moreutils.html">A few weeks I wrote about a tool, which helps you easily prepend to a file. I submitted prepend to moreutils and Joey was kind enough to point out this could be done with `sponge’.? sponge reads standard input and when done, writes it to a file:
Probably the most general …<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://helpdeskgeek.com/linux-tips/crontab-howto-tutorial-syntax/">Automating Tasks in Linux Using Crontab (helpdeskgeek.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/progrium/sxsw-evented-web">How WebHooks Will Make Us All Programmers (slideshare.net) <li class="zemanta-article-ul-li"><a href="http://almirkaric.com/2010/01/07/debugging-python-multiprocessing/">Debugging python (multi)processing (almirkaric.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/royzimmer/you-can-do-it-start-using-perl-to-handle-your-voyager-needs">You Can Do It! Start Using Perl to Handle Your Voyager Needs (slideshare.net) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/b2b2afad-1679-46ab-831c-90ae0cc4d30f/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b14.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">
I’ve been running <a class="zem_slink freebase/en/ubuntu" title="Ubuntu (operating system)" rel="homepage" href="http://www.ubuntu.com/">Ubuntu as my laptop <a class="zem_slink freebase/en/operating_system" title="Operating system" rel="wikipedia" href="http://en.wikipedia.org/wiki/Operating_system">operating system for quite some time (year or more) and find it to be quite wonderful. However, recently I had some nasty times getting everything to work with OpenDNS.
The easy thing to do is change /etc/<a class="zem_slink freebase/en/resolv_conf" title="Resolv.conf" rel="wikipedia" href="http://en.wikipedia.org/wiki/Resolv.conf">resolv.conf to contain the OpenDNS entries. However, this was complicated by my use of <a href="http://www.pps.jussieu.fr/~jch/software/polipo/">polipo (web cache), <a href="http://www.phys.uu.nl/~rombouts/pdnsd/">pdnsd (<a class="zem_slink freebase/en/name_server" title="Name server" rel="wikipedia" href="http://en.wikipedia.org/wiki/Name_server">DNS cache), and <a href="http://en.wikipedia.org/wiki/Resolvconf">resolvconf (a resolv.conf file manager) – not to mention the use of <a href="http://sourceforge.net/apps/trac/ddclient">ddclient to update the dynamic <a class="zem_slink freebase/en/internet_protocol" title="Internet Protocol" rel="wikipedia" href="http://en.wikipedia.org/wiki/Internet_Protocol">IP on the laptop, and the Gnome <a href="http://projects.gnome.org/NetworkManager/">NetworkManager.
Continue reading$ alias whatismyip="wget -q -O - <a href="http://whatismyip.com/automation/n09230945.asp"">http://whatismyip.com/automation/n09230945.asp" The preferred way for scripts (and easier to parse)
<a href="http://www.commandlinefu.com"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg" alt="" align="bottom" />
by David Winterbottom (<a href="http://codeinthehole.com">codeinthehole.com)
<a href="http://feedads.g.doubleclick.net/~a/Ytz2VmntW_MS33pd5-JeJzhnUZo/0/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/Ytz2VmntW_MS33pd5-JeJzhnUZo/0/di" alt="" align="bottom" />
<a href="http://feedads.g.doubleclick.net/~a/Ytz2VmntW_MS33pd5-JeJzhnUZo/1/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/Ytz2VmntW_MS33pd5-JeJzhnUZo/1/di" alt="" align="bottom" />
<img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~r/Command-line-fu/~4/O6l8r0uDeTc" alt="" width="1" height="1" align="bottom" />
URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/O6l8r0uDeTc/what-is-my-ip">http://feedproxy.google.com/~r/Command-line-fu/~3/O6l8r0uDeTc/what-is-my-ip
IdealisticHarshvardhan mallik(<span style="font-size: medium;"> <span style="color: #ff420e;">B) and his son Jay(<a class="zem_slink freebase/en/sudeep" title="Sudeep" rel="wikipedia" href="http://en.wikipedia.org/wiki/Sudeep">Sudeep), find their channel loosing out on <span style="color: #9999ff;">popularity ratings for a rival <span style="color: #7e0021;">channel smartly run by his X-employee <a class="zem_slink freebase/en/mohnish_behl" title="Mohnish Behl" rel="imdb" href="http://www.imdb.com/name/nm0046894/">Mohnish Behl. Jay is provoked and hence in an attempt to rebuild and regain the foothold,he <span style="color: #00ae00;">plans a <a class="zem_slink freebase/en/sting_operation" title="Sting operation" rel="wikipedia" href="http://en.wikipedia.org/wiki/Sting_operation">sting operationwith aspiring PM **<span style="color: #280099;">Manoj Pandey**(<a class="zem_slink freebase/en/paresh_rawal" title="Paresh Rawal" rel="imdb" href="http://www.imdb.com/name/nm0712546/">Paresh Rawal) and his <span style="color: #00cccc;">Co-Bro industrialistRajat Kapoor. Everybody gets their share,but end up <span style="color: #0099ff;">gobbling the truth. How is that revealed and what are their<span style="color: #94bd5e;">repurcussions forms the rest.
Continue reading