Hi, I need help again. When I run this shell script, it only runs the unld_date.sql piece and exits. How can I structure this to run all the way to the end? When I don't have the unld_date.sql piece in here, everything runs fine from the date compare piece all the way to the end. Thanks in... (5 Replies)
I have enabled the RSH and Rexec command in my HP-UX server but when i try to send any command to the server it returns Execute Permission Denied except commands like ls-l
C:\rsh xxx.xxx.xxx.xxx -l mpac mxpkill 12
the mxpkill command work when I log to the server using telnet with the same... (0 Replies)
i need to send 2 diff mail in a single script:Below the script
#!/bin/ksh
echo "enter the number"
read num
if
then
mail -s "test" unix@yahoo.com
mail -s "test" 9886767000@nma.vodafone.in,9916138003@nma.vodafone.in
else
echo "test again"
fi... (5 Replies)
Hi All,
I want to format the retrieved varchar2 value in the database to $9,999,999,990.00 but remained as a character value. Is it possible?
Example: 378273.23 to $378,273.23
below is the code i want to implement:
sqlplus -s ${USERNAME}/${PASSWORD}@${ORACLE_SID} << END1 >> $LOGFILE... (0 Replies)
We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
cat file1.txt
field1 "user1":
field2:"data-cde"
field3:"data-pqr"
field4:"data-mno"
field1 "user1":
field2:"data-dcb"
field3:"data-mxz"
field4:"data-zul"
field1 "user2":
field2:"data-cqz"
field3:"data-xoq"
field4:"data-pos"
Now i need to have the date like below.
i have just... (7 Replies)
I am trying to use Linux mail command on red hat linux. It is working fine except when there is hardcoded "\n" characters in the file content i want to send. It is literally taking "\n" as text and message is not getting formatted to give newliine effect.
I am using the following command:
cat... (3 Replies)
Can you explain what this line of script is doing.
What I have understood is :
-- variable C is the name of a software which is either not installed, so it must be installed or allready installed and then should be update if newer version found
-- branch B="$B $C" is to install the software
--... (4 Replies)
I have these grep commands and need to put them next each other (in horizontal layout).
cat /tmp/dsmc.out |grep Done
cat /tmp/dsmc.out |grep "Elapsed processing time:"
cat /tmp/dsmc.out |grep "Client date/time:"
cat /tmp/dsmc.out |grep "Total number of bytes transferred:"
so that it... (6 Replies)
ENVIROMENT
Linux: RHEL 6.4
Log Path: /usr/iplanet/servers/https-company/logs
Log Format: user.log.03-15-2015
I have log4j log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I need a script that will run daily that... (1 Reply)
Discussion started by: admin_job_admin
1 Replies
LEARN ABOUT OSF1
from
from(1) General Commands Manual from(1)NAME
from - Shows whom mail messages are from
SYNOPSIS
from [-s sender] [user]
The from command prints out the mail header lines in your mailbox file.
OPTIONS
Prints headers for mail sent by sender. Specifies a mail spool directory.
Use this flag if you want to examine a mailbox in a directory other than /usr/spool/mail, which is the system default.
DESCRIPTION
If user is specified, then user's mailbox is examined instead of your own.
EXAMPLES
To display the message headings in your mailbox, enter: from
The names of the senders and the message dates are displayed. To display the message headings for mail sent by a specific user,
enter: from -s dale
Displays only the message headings of the messages sent from user dale. To display the message headings in a specific user's mail-
box, enter: from dawn
The message headings from user dawn's mailbox are displayed, provided you have read permission for dawn's mailbox.
FILES
User mailbox files.
SEE ALSO
Commands: biff(1), mail(1), mailx(1)from(1)