![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing variable from bash to perl from bash script | arsidh | Shell Programming and Scripting | 10 | 06-04-2008 12:25 PM |
| bash script | pooppp | Shell Programming and Scripting | 6 | 05-29-2008 02:46 AM |
| Why generate "ash and bash" different output for same bash script? | s. murat | Shell Programming and Scripting | 0 | 05-26-2008 07:19 AM |
| please help with a bash script | milagros | Shell Programming and Scripting | 1 | 05-13-2007 09:43 PM |
| Help with Bash Script | carriehoff | Linux | 0 | 07-12-2006 05:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I am trying to write a script which emails the status of the job to the client. I am using bash script. I tried using mailx and the shell throws an error that 'command not found'. is mailx not supported in bash. Alternatively, is there any command that i can use for sending email in bash? Thanks in adv |
|
||||
|
Hi,
Which OS are you using? Try adding the complete path to the mail command you are using. On a standard Solaris installation the path to mailx is /usr/bin/mailx. What are you trying to do with the script? Should it send you a text message or send an attachment? -Joe |
|
||||
|
Sorry!
Linux doesn't have mailx as a standard package. You'll have to use mail. Did you say you are writing the script in sh? If so, you'll be happy to know that sh is a link to bash! All of your sh scripts should work as expected though. -Joe |
|
||||
|
Hi,
Can i send an attachement through mail synatx... I tried to search the man pages but could not find any option... Is there any alternative to fro sending an email with a text attachment or inline text thru email using bash Thanks in adv |
![]() |
| Bookmarks |
| Tags |
| linux, mailx, mailx attachment, solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|