Weblog of Abdullah Rubiyath :: Alif

Exploring the Web: An apple a day

Miscellaneous

Miscellaneous Blog

Send Email with file attachment from terminal using mutt

Sat, 03/20/2010 - 10:06 -- alif

Sometimes I run into situation where I need to email a file, and I am lazy to open a browser, login to my email account, and then attach file and send it.

If you are like me, then mutt is a neat command for sending emails from terminal quickly =P.

The code looks like below:

echo "email body" | mutt [email protected] -s "email subject" -a "file-to-be-attached"

So, if I need to email a file code.zip (in the same directory), I would use the following:

Apache htaccess : Redirect Old URLs to new URLs after Rewrite URLs have been applied

Thu, 03/19/2009 - 16:16 -- alif

.htaccess (Hypertext Access) files is a configuration file on Apache web server. It allows users to do many powerful features just by writing few lines.

Since this is a topic which has been widely blogged, I decided to write a topic which is hard to find, and followed by links to other blogger's site (which explains htaccess extensively).

Suffered from a FLU Virus from the last week

Wed, 10/29/2008 - 21:25 -- alif

So, its official !!!

I was severly affected by a FLU Virus. I have been completely in bed for the last 4-5 days, with a constant fever of 103-104 F'... :(.. It was a very hard time for me.. But, finally I am back on my feet, but, I have a lot of responsibilities on my shoulder. I had a free-lance project which was due last Tuesday (yes, I have already missed the deadline).. and the deadline of a big project for my company is also due end of this week.

So, its official. I was severly affected by a FLU Virus. I have been completely in bed for the last 4-5 days, with a constant fever of 103-104 F'... :(.. It was a very hard time for me.. But, finally I am back on my feet, but, I have a lot of responsibilities on my shoulder.
Subscribe to RSS - Miscellaneous