06-27-2007
sending message to terminal
hi all
i have script
#!/bin/bash
cd /usr3/prod
grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log
if test -s /usr3/prod/ind_err.log
then
echo "error during process"
else
echo "process succeed"
fi
i want that this message(echo) will be display one time at the top of the screen to all the pc stand (sessions)
and not just to the current terminal(session) that runs it ,without preventing from the other process that runs in the sessions to run.
how shell i do this ?
please help
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
whats the cmd to send messages using terminal to another computer on our network?
We are running SOlaris CDE (5 Replies)
Discussion started by: korupt
5 Replies
2. Cybersecurity
Hi,
Does anyone have a script (for AIX) that sends a message to a user that his password will be expired within 5 days for ex.
Thanks (1 Reply)
Discussion started by: Diederd
1 Replies
3. Programming
Hi folks,
Just wondering if anyone knows how to send intr/break key to remote tty (shell), a simple example would be great!
thx (2 Replies)
Discussion started by: andryk
2 Replies
4. UNIX for Advanced & Expert Users
I'm testing out some ESMTP AUTH stuff, and it requires that the username and password be on the same line separated by a null character. Does anyone know how to echo the ASCII null character?
Thanks,
Alex (3 Replies)
Discussion started by: vertigo23
3 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to send a mail with an attachment and message. Following command I am using.
(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com
In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I browsed thru the previous posts and couldnt find a solution for my problem. Hence I decided to post it.
I have a buffer array that I want to send thru a message queue. The array consists of a header structure and a payload structure memcopied to it. When I print the contents of the... (1 Reply)
Discussion started by: zeebie
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am running a program in a terminal.
this program is just printing random words.
I can change the color of each word by entering the first character of the color(for example G for Green).
I want to write a bash code that runs in a different terminal and sends different characters to... (3 Replies)
Discussion started by: alireza6485
3 Replies
8. UNIX for Dummies Questions & Answers
Hi All! I would like your assistance with an issue that I have been having with OS X (Snow Leopard 10.6.8) and sending mail through the Terminal.
I had been trying to send mail from Terminal to my GMail account from my home, where I have a Verizon DSL Internet connection routed through a... (0 Replies)
Discussion started by: danielsutton
0 Replies
9. Shell Programming and Scripting
Is it possible to add Pager Notification to mailx command??
Or by any other mean.
just want to specify that by Pager i mean a message to the mobile number.
Suppose i have following condition
If ];then
send a message to 9999999999
else
no message to be sent
fi
Is it possible?
I... (5 Replies)
Discussion started by: Sharma331
5 Replies
10. Shell Programming and Scripting
I am making use of the following code to display the results of my txt file in an email:
mail -s 'Count Validation Test Comparison Results' Ronit@XYZ.com < Count_Validation_Results_`date +%m%d%Y`.txt
Email Output:
----------Query 1 Count Validation Results--------
Source count is 4
Target... (7 Replies)
Discussion started by: ronitreddy
7 Replies
LEARN ABOUT DEBIAN
orange
ORANGE(1) User Commands ORANGE(1)
NAME
orange - extract CAB files from self-extracting installers
DESCRIPTION
orange [-d DIRECTORY] [-D LEVEL] [-h] FILENAME
-d DIRECTORY
Extract files to DIRECTORY
-D LEVEL
Set debug log level 0 - No logging (default) 1 - Errors only 2 - Errors and warnings 3 - Everything
-h Show this help message
FILENAME
The file to list or extract contents of
Orange is a tool and library for squeezing out juicy installable Microsoft Cabinet Files from self-extracting installers for Microsoft Win-
dows. It currently supports the following kinds of installers:
* Early support for installers created by Installer VISE. (Orange 0.3 or
later)
* Support for some installers created by Inno Setup. (Orange 0.2 or later) * Early support for the installer used by TomTom prod-
ucts. (Orange 0.2 or
later)
* InstallShield versions 5 and 6, using Unshield for extracting
InstallShield Cabinet files.
* Setup Factory versions 5 and 6 using Dynamite for data decompression. * Some other installer (using a DLL called inflate.dll).
This is used by
for example Macromedia Flash Player 6 for Pocket PC 2002.
* Microsoft Cabinets (also self-extracting) when you have Cabextract
installed.
* Zip archives (also self-extracting) when you have UnZip installed.
orange 0.3.1 July 2004 ORANGE(1)