10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a ksh script that emails a report to outlook from a Unix Solaris. On server the report formatted perfectly. However, the email version the format is not.
On the server report looks like this:
TN Region Old SPiAD Server Order/Req Local Status NAAC Status Request Date New... (1 Reply)
Discussion started by: mrn6430
1 Replies
2. Shell Programming and Scripting
Hi Guys,
I have written a script, which output information from email notfication. The output works fine in HTML format, but non-html format it is not shown in a human readable format.
Can you help with the format ***
Script
echo " Server Name : $CLIENT_CHECK "... (4 Replies)
Discussion started by: Junes
4 Replies
3. What is on Your Mind?
There seems to have been a small recurring problem with the forums not always sending email; so I have changed the system and tested it and it's all working OK now.
Please post back if you have any trouble sending or receiving email from the forums (with details of course!)
Thanks,
Neo (1 Reply)
Discussion started by: Neo
1 Replies
4. Shell Programming and Scripting
Hi ,
Need help of Email Format
I have TEST .txt file which contains below data
/home/a.DAT File Not received
/home/a.CTL File Not received
/home/b.DAT File Not received
/home/b.CTL File Not received
i am using below command to send mail
mail -s "ERROR: files" $MAIL_LIST <... (6 Replies)
Discussion started by: satish1222
6 Replies
5. Shell Programming and Scripting
Hi how do you change the format of the output of
ls -lt -c -R $HOME | sed /^total/d
From:
/home/pikamon/Desktop:
-rwxr-xr-x 1 pikamon pikamon 35 Sep 18 14:25 fileModified.sh
-rwxr-xr-x 1 pikamon pikamon 87 Sep 18 14:25 fileModified.sh~
/home/darksky21/Downloads:
-rwxrw-rw- 1 pikamon... (5 Replies)
Discussion started by: pikamon
5 Replies
6. Shell Programming and Scripting
I'm just wondering is there any way to capture the output of a unix command in a csv format.
df -h gives the result of filesystem,free space,Used space, use %,mounted on.
Is there a way to capture the command output and format it as comma sparated or fixed length file. (3 Replies)
Discussion started by: anita81
3 Replies
7. UNIX for Dummies Questions & Answers
how can I get the df -h command output into excel format or csv file.
df -k | tr -s " " | sed 's/ /, /g' | sed '1 s/, / /g' | column -t
df -h | column -t
I have tried as above but the format is not right. I'm not able to load the format into a excel or a table.
... (2 Replies)
Discussion started by: anita81
2 Replies
8. Shell Programming and Scripting
Hello,
I'm a bit stumped, for some reason when using AWK 'print' is not printing the entire date/line.
awk '{print "Ticket #: " $1}
{print "Queue : " $2}
{print "Recieved : " $3}
{print "AP Date : " $4}
{print "Circuit ID : " $5}
{print... (4 Replies)
Discussion started by: ArvinSodhi
4 Replies
9. Shell Programming and Scripting
Hi
I have a script
#!/bin/sh
# email addresses to send results to, separated by a space
EMAILS="xxxx.yyyy@yahoo.com"
SUBJECT="MySQL reporting "
DISK_DATA_USAGE=/home/aaaa/usaage.txt
mysql YYYYYYYY -e " select 100*sum(max_data_length) as disk_usage_pct from xxxxxx;" >... (2 Replies)
Discussion started by: asha210
2 Replies
10. Shell Programming and Scripting
Team,
I have the below code, which is working fine and it sends the html report using sendmail command.
I want to attach one more file ( which goes as attachment ) in that email. How to achieve it.
i tried with uuencode. But no luck :mad:
outputFile="/tmp/out.html"
(
echo... (2 Replies)
Discussion started by: itkamaraj
2 Replies