Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Reply
 
LinkBack Thread Tools Display Modes
Old 19-09-2011, 02:36 PM   #1 (permalink)
never forgot your roots!
 
Join Date: Oct 2006
Location: Accumulator
Posts: 99
Default reading a file and sending mail by shell scripting..?? Plz help urgent..!!


hi I need help urgently...i need to write a shell script which can solve the following problem....its urgent plz help me out coz m totally newbie in shell scripting....
the problem is:
Suppose I have a folder called logs. whenever some error occurs some correspondence error file is generated.
I need a script that can first find out that there is a file with the string error in it. then can read it or can directly attach it with the mail(or in html text) and can send a mail to respected mail. can you please give me help that how i vl do it(considering new in shell script). as m confused with scripting but i have to do it.

Thanks
SUKHI99 is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-09-2011, 02:11 AM   #2 (permalink)
I'm a Wannabe Hacker
 
Prime_Coder's Avatar
 
Join Date: Apr 2011
Location: Oxford of D East!
Posts: 235
Default Re: reading a file and sending mail by shell scripting..?? Plz help urgent..!!

Send mail bash script
Prime_Coder is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2