cd across parallel directories

2011-03-14 1 min read bash Linux
Image via Wikipedia Here is a simple and fast way to cd across parallel directory. 1 <td> <div class="text codecolorer"> cd ${PWD/test/actual} </div> </td> </tr> Related articles Linux command line tips: wget (ghacks.net) Article Directory Submissions (tjantunen.com) Article Directory Submissions (cash-bandit.com) Create a repository from your fedora DVD (annupandey.wordpress.com)

Using ssmtp to send mail using gmail.

2011-02-19 1 min read Fedora Linux
First install the package ssmtp using the command: 1 <td> <div class="text codecolorer"> sudo yum install ssmtp </div> </td> </tr> Open the configuration file for ssmtp as root user: 1 <td> <div class="text codecolorer"> vim /etc/ssmtp/ssmtp.conf </div> </td> </tr> Make the following changes to the configuration file: root=**username**@gmail.com mailhub=smtp.gmail.com:587 hostname=**username**@gmail.com UseSTARTTLS=YES AuthUser=username AuthPass=password FromLineOverride=yes In order to make the default (root) “from” field be the server name, edit the /etc/ssmtp/revaliases file as root user : Continue reading

Empty a file

2010-12-26 1 min read Learning Linux
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image via <a href="http://commons.wikipedia.org/wiki/File:Calculator.NET_Screenshot.png">Wikipedia</a> </dd> </dl> This one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output. Empty a file 1 <td> <div class="text codecolorer"> touch file </div> </td> </tr> * View this command to comment, vote or add to favourites * View all commands by noisy Continue reading

Free Home made calendar for December 2010.

2010-11-29 1 min read Uncategorized
Hope you will like this 🙂 [][1]December Calendar Related articles Publish iCal Calendars Without MobileMe Or An OS X Server [Mac] (makeuseof.com) MUTTS and Eckhart Tolle Together Again in Enlightening ‘Guardians of Being’ 2011 Wall Calendar Calendar (prweb.com) Free 2011 Calendars (forthemommas.com)

Fundraising for Linux Foundation.

2010-11-13 1 min read Uncategorized
All of us have been benefited by Linux in some way or other and this is due to all the work that is being done by so many organizations and people around the world. I would like to spare some time to tell you about my initiative to raise 100$ for Linux Foundation. Please visit my donation page or click donate on the widget in the bottom of the page. Continue reading

Free Calendar for October 2010

2010-09-30 1 min read Photo Uncategorized
Hope you like my work with gimp and Nikon D5000 . <img class="size-medium wp-image-2501" title="Calendar October 2010" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/09/calOct10-300x199.jpg" alt="Calendar October 2010" width="300" height="199" /> <a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/09/calOct10.jpg">Download Link<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/zemified_e.png?x-id=2104687a-c8b4-4199-944e-69204d710f76" alt="Enhanced by Zemanta" /><span class="zem-script more-related pretty-attribution">
Older posts Newer posts