06-27-2007
See wall and write commands.
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
WALL(1) User Commands WALL(1)
NAME
wall - write a message to all users
SYNOPSIS
wall [-n] [-t timeout] [-g group] [message | file]
DESCRIPTION
wall displays a message, or the contents of a file, or otherwise its standard input, on the terminals of all currently logged in users.
The command will wrap lines that are longer than 79 characters. Short lines are whitespace padded to have 79 characters. The command will
always put a carriage return and new line at the end of each line.
Only the superuser can write on the terminals of users who have chosen to deny messages or are using a program which automatically denies
messages.
Reading from a file is refused when the invoker is not superuser and the program is set-user-ID or set-group-ID.
OPTIONS
-n, --nobanner
Suppress the banner.
-t, --timeout timeout
Abandon the write attempt to the terminals after timeout seconds. This timeout must be a positive integer. The default value is
300 seconds, which is a legacy from the time when people ran terminals over modem lines.
-g, --group group
Limit printing message to members of group defined as a group argument. The argument can be group name or GID.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
NOTES
Some sessions, such as wdm, that have in the beginning of utmp(5) ut_type data a ':' character will not get the message from wall. This is
done to avoid write errors.
SEE ALSO
mesg(1), talk(1), write(1), shutdown(8)
HISTORY
A wall command appeared in Version 7 AT&T UNIX.
AVAILABILITY
The wall command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-
linux/>.
util-linux August 2013 WALL(1)