Hi,
I am new to shell scripting and thus any help will be highly appreciated. I need to write a K shell script where in the email sending feature should be handled by sendmail utility and I have come up with the following :
However, I need to alter the shell so that it can take the From field, To field and any file attachment as parameter.
Can anyone kindly help ?
Thanks a lot in advance....
Last edited by pludi; 06-22-2010 at 01:40 AM..
Reason: code tags, please...
I am facing problem while accesing FTP related commands in nawk code in bourne shell programming.I can able to connect to remote machine, but i can't able to get files from that machine.
Please help me in this.If you send code along with the solution, then it will be usefull for me. (4 Replies)
Not sure if this is the right place to be posting this. If not, let me know where it fits. I am running RedHat Linux 8.0. I've recently acquired a Sony Mavica digital camera. In short, this thing is awesome (uses cd-rw!). I have been taking high quality images, but I now have the need to try... (2 Replies)
Hi,
I am a beginner. I need an example of using DB2 Load Utility in Shell script.
I appreciate if anyone could help me about it.
Thanks,
Paris (0 Replies)
Hello,
My System Admin. just switched me from KSH to BASH and something happened to my "nedit" utility!
Does anyone know how to reactivate nedit by anychance?
Thanks very much!
BobK (2 Replies)
Hi All,
I need to do a lot of manual entries at shell prompt.
So to collect the logs(each command fired in that session, i use "SCRIPT(1) : make typescript of terminal session"
this is kool,but the problem here is that it saves the linefeed, and backspaces along with the commands in the log... (1 Reply)
I need some help to run this executable from within a shell script.
The Script is run the following way at the command prompt.
$rateupd
Main Menu --Standard Output
----------- --Standard Output
1. - Update Rate --Standard Output
2. - Exit. --Standard Output
Enter Selection: 1 --User... (5 Replies)
Hi. Question from a novice. I'd like to have a unix script that sends me an email message, but I have no clue on the syntax. I do know this works from my mailtest.sh script:
/usr/lib/sendmail steve@me.com < /dev/null
This sends me a blank email. I'm hoping someone can help me to build... (3 Replies)
Hi, all:
Which shell command or utility will call the open(), close(), hard_start_xmit(), rtl8139_rx(), or interrupt() functions in a network device driver I am debugging?
Can "ping", "ftp", "scp", or "internet browser" finally call them?
Best regards!
li, kunlun (0 Replies)
Hi friends,
I want to converting a task ,of making few words in my task mail bold and underlined sometimes, automated through sendmail.
I have never used sendmail/mailx before.
What i want is my ouput which looks like below:
+++++++++++++++
DETAILS: sqlid:6mbiosdfsdff parsing_schema_name:... (1 Reply)
Discussion started by: kunwar
1 Replies
LEARN ABOUT DEBIAN
lr_environment
LR_ENVIRONMENT.IN(1) LogReport's Lire Documentation LR_ENVIRONMENT.IN(1)NAME
lr_environment - Export Lire configuration in shell script form
SYNOPSIS
eval `lr_environment`
DESCRIPTION
The lr_environment command is used to import the Lire configuration in Lire shell scripts.
All of Lire configuration variables will be written in a format that can be evaled by the shell.
Shell scripts don't usually have to use that command, since it is done by the defaults file sourced by each command.
The old names used by when the configuration was done in shell script are also exported by this script for backward compatibility.
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: lr_environment.in,v 1.12 2006/07/23 13:16:33 vanbaal Exp $
COPYRIGHT
Copyright (C) 2003 Stichting LogReport Foundation LogReport@LogReport.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 LR_ENVIRONMENT.IN(1)