10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have the variable defined in .bashrc
BIN_DIR="/usr/local/dw"
and in my shell script i am using below.
#!/bin/bash
echo "Bin Dir: ${BIN_DIR}"
. "${BIN_DIR}"/dwh_Loadfuncs.sh
Output:
Bin Dir:
/usr/local/dw/dwh_LoadXMLFileIntoStage.sh: line 7: /dwh_Loadfuncs.sh: No such file or... (3 Replies)
Discussion started by: Ariean
3 Replies
2. Shell Programming and Scripting
ok. i have an extensive program written predominantly in borne shell. i have to give an "evaluation" copy of this program to a user so she can test it out and see if she wants it. problem is, i dont have an evaluation copy. and even if i did, im worried the evaluation copy can be edited to... (8 Replies)
Discussion started by: SkySmart
8 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am using the below command to send the email.
mailx -s "test from `hostname`" email@gmail.com < attachment.txt
id
uid=870(wlsuser) gid=641(wlsgrp)
I recieve the email as "From: wlsuser@hostname
Can I somehow have any string instead of wlsuser, if that grows too complex to... (4 Replies)
Discussion started by: shifahim
4 Replies
4. Shell Programming and Scripting
Hi,
I have a text file similar to the example below and I want to print the second line every time after the "--------------------------" pattern is found. The pattern is a fixed length of - characters.
Example of input;
1 --------------------------
2
3 39184018234
4 ... (10 Replies)
Discussion started by: lewk
10 Replies
5. Red Hat
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
Discussion started by: rockf1bull
0 Replies
6. Shell Programming and Scripting
Hi All,
I want to change the email address of the sender to some alias
for eg:
FROM:noreplyecommerce@test.com needs to be changes to TEST
Please help me. (3 Replies)
Discussion started by: sithara
3 Replies
7. Shell Programming and Scripting
Hey,
after I check the man page for mail and mailx, I did not find the -r option. But, I have to change the email sender, how can I do it?
Send Mode
mailx address...
Receive Mode
mailx -e
mailx
mailx -f
... (0 Replies)
Discussion started by: freelong
0 Replies
8. Shell Programming and Scripting
Hi ,
I had a script in which there is a variable $LOG defined and I want to check where that variable is getting value from, is there a way I can check for that variable and it's value if it is defined in some other script function or script . I checked using command env and also export... (1 Reply)
Discussion started by: somu_june
1 Replies
9. Shell Programming and Scripting
I am sending email with attachment using mail and uuencode command.
Ex:
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "applmgr@rigelapp01.us.dell.com". I want to change this email address into... (1 Reply)
Discussion started by: balajiora
1 Replies
10. SCO
Hello I hope someone can help me.
As part of an acquisition I have inherited a ERP system running on a SCO 5 server, unfortunately I don't have much Unix knowledge. I have been asked to configure a script so that when users print a report from the ERP software it runs a script that sends the... (1 Reply)
Discussion started by: fishbone56
1 Replies