Sponsored Content
Top Forums Shell Programming and Scripting Attchment in mailx command is not happening Post 303006840 by alokjyotibal on Wednesday 8th of November 2017 07:31:37 AM
Old 11-08-2017
file is in same path . but when i ecxecute this command , it seems it is waiting for some input

Last edited by hicksd8; 11-11-2017 at 11:31 AM..
 

10 More Discussions You Might Find Interesting

1. AIX

Ping is happening, telnet is not happening

HI all, Ping is happening to a AIX box...but telnet is not happening... AIX box doesn't have any conslole... Please help how to resolve it. Thanks in advance .. Manu (2 Replies)
Discussion started by: b_manu78
2 Replies

2. UNIX for Advanced & Expert Users

Mailx Command

Hi, mailx -s "hi" -r "abc@yahoo.com" aaa@yahoo.com<<EOF Hi, ~<!uuencode a.txt a.txt EOF the above code is sending mails, but attachment is not going instead i just get like below ~<!uuencode a.txt a.txt Thanks. (3 Replies)
Discussion started by: shahnazurs
3 Replies

3. HP-UX

Send a mail with attchment...?

Hi all, how to send an E-mail with an attchment in HP-Unix...? i am using the following command in solaris...! for HP..? uuencode $Basic_location/out.csv $Basic_location/out.csv | mailx -s "$SUBJ" $TO_LIST please let me know how we can use this in HP box...? (6 Replies)
Discussion started by: bullz26
6 Replies

4. UNIX for Advanced & Expert Users

mailx command

hi, i want to pass a unix variable as the subject of the mail alongwith a string. My part of code is as below.. week_end_dt=`sqlplus -s rsamart@martdev.world/rsamart<<EOF SET FEED OFF; SET TIMING OFF; SET HEADING OFF; SET PAGESIZE 500; SET LINESIZE 1000; select... (14 Replies)
Discussion started by: Jalkukdi@10
14 Replies

5. UNIX for Dummies Questions & Answers

mailx and -s command

How does the -s command work with mailx. I know that -s is to create a symbolic link when being used with ln but i'm not sure what the command does with mailx. Anyone?:confused: (1 Reply)
Discussion started by: kjetterman
1 Replies

6. Shell Programming and Scripting

Mailx command

Hi, This post is regarding sending mails from Unix. How can we include "bcc" in a "mailx" command. I searched google to find out the -b option; but my man pages doesnot show that option(it throws me an error: "-b not found"). It has a "~b" option but i am not sure how to use it. Could you people... (2 Replies)
Discussion started by: Thumban
2 Replies

7. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

Hi All, Can anyone please provide the command for sending an mail with attachment using mailx command. Thanks in Advance :) Regards, Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies

8. UNIX for Dummies Questions & Answers

mailx command

Hi, I am seeing that this command is sending mail even when the nawk command in untrue ( does not have any output ). I only want it to send mail, where it goes above the threshold, and has some output. nawk -F'(MOD dn="uid=)|(DEL dn="uid=)|' '/(MOD dn="uid=)|(DEL dn="uid=)/... (2 Replies)
Discussion started by: john_prince
2 Replies

9. Shell Programming and Scripting

mailx command

( cat textfile.txt; ) | mailx -s "test mail " `cat mailids.lst` from :'server@example.com' to : for all contacts in text file mailids.lst above command is sending mails correctly for all contacts in text file mailids.lst, but 'from' address is showing as 'server@example.com' but i want... (5 Replies)
Discussion started by: only4satish
5 Replies

10. HP-UX

Help with Mailx command

I need to do below in mailx : 1. to list 2. CC list (I am using tilde command for this) 3. -r option 4. attach .csv file Below is the command i am using : ( echo '~c abc@xyz.com'; cat mailtext.txt; uuencode attach.csv attach.csv) | mailx -s "${SUBJECT}" -r "abc@xyz.com" -m ${MAIL_LIST}... (4 Replies)
Discussion started by: ManOfSteel
4 Replies
io_redirect_dsf(1M)													       io_redirect_dsf(1M)

NAME
io_redirect_dsf - redirect the persistent device special file from one device to a different device SYNOPSIS
old_hw_path new_hw_path old_dsf new_dsf DESCRIPTION
The command reassigns a persistent device special file (DSF) to a new device when both devices belong to the same class. If the new device does not already exist, before reassigning it you must create the DSF by running either or (see insf(1M) and mksf(1M)). In the first form, the command accepts as input the lun hardware paths of the device to be replaced and the new device. In the second form, the command accepts as input the persistent DSFs of the device to be replaced and the new device. Note: The device is inaccessible while the redirection is taking place. Options recognizes the following options: Specify the hardware path of the device that is being replaced. returns an error if old_hw_path is not a lun hardware path. Specify the hardware path of the new device. returns an error if new_hw_path is not a lun hardware path. Specify the device special file of the device that is being replaced. returns an error if old_dsf is not a persistent DSF. Specify the device special file of the new device. returns an error if new_dsf is not a persistent DSF. RETURN VALUE
Exit values are: Successful completion. An error condition occurred. EXAMPLES
Redirect the DSF with the hardware path at to point to the hardware path at Both disks belong to the class. Redirect the DSF to point to the device with DSF Both DSFs represent devices that belong to the class WARNINGS
You must be superuser to execute the command. SEE ALSO
insf(1M), mksf(1M), intro(7). io_redirect_dsf(1M)
All times are GMT -4. The time now is 03:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy