07-22-2009
So you want to do a wall/write and read it on the unix box or the 2nd windows box which is connected via putty too? Maybe describe your environment and what you want to achieve a bit more, ty.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know when using the wall command can I send a message to a specific user that is logged in.
Thank you (1 Reply)
Discussion started by: nascar.fan
1 Replies
2. UNIX for Dummies Questions & Answers
let's say in my office i have 20 networked sun boxes named host1 through host20. i am currently logged in as root at some random machine, which we will say host13 for this scenario's sake. now, is there any way i can send a text message of some sort over the whole network to all logged in... (1 Reply)
Discussion started by: AMisledDrummer
1 Replies
3. Shell Programming and Scripting
Hi all,
i'm trying to generate a "pop up window" incorporating either the write or wall command or both.
Is such a thing possible ?
thanks
simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies
4. UNIX for Dummies Questions & Answers
hi
nu 2 this forum.,
can any one tell me how to 'talk' to a person on other system who is connected in a network(LAN) via terminal.......
and when to use wall,write and talk..
regards
leenus
:) (1 Reply)
Discussion started by: mr.anilbabu
1 Replies
5. Shell Programming and Scripting
Hi,
Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies
6. Shell Programming and Scripting
Hi,
I need to do frequently server down and up. Every time i am using nearly 5 to 6 commands to down and agin i am using the commands to up.
Can anybody help me to write a script to down and up.
which i can use once on unix platform it can down later it can up the server. (1 Reply)
Discussion started by: sreerao
1 Replies
7. UNIX Desktop Questions & Answers
OK... I'm fairly new to unix having the admin handed to me on a platter w/almost no training.
However, being a programmer, I do pick up things fairly easily, but this one is getting the best of me.
I have a unix server that runs multiple versions of the same ERP system, hand crafted for our... (1 Reply)
Discussion started by: chimodel
1 Replies
8. Red Hat
I am using Fedora 8,Red hat 9.
Whenever we write a new command. Then we goto "/usr/bin" and then place this in this directory.And hence we can use it as a command anywhere from the terminal.
We generally see commands like "trap" which run only in bash shell.We also have other shell specific... (1 Reply)
Discussion started by: nsharath
1 Replies
9. Homework & Coursework Questions
I have to
Write a program in C that recognizes the following commands and translates them into much simpler ones
Commands to recognize shorter command
list
L
cd dir
C - dir_length - dir
get file_name G - file_name_length - file_name
Long commands are read from the standard input... (1 Reply)
Discussion started by: aintour
1 Replies
10. Linux
I think it's about time the df and du commands (executables?) were updated to display gigabyte units without one having to do their own calculations from the -m option (display in megabytes). This is one of those "little nothing" annoyances that, at the same time, would positively show new... (3 Replies)
Discussion started by: SilversleevesX
3 Replies
LEARN ABOUT OPENSOLARIS
wall
wall(1M) System Administration Commands wall(1M)
NAME
wall - write to all users
SYNOPSIS
/usr/sbin/wall [-a] [-g grpname] [filename]
DESCRIPTION
wall reads its standard input until an end-of-file. It then sends this message to all currently logged-in users preceded by:
Broadcast Message from ...
If filename is given, then the message is read in from that file. Normally, pseudo-terminals that do not correspond to rlogin sessions are
ignored. Thus, when using a window system, the message appears only on the console window. However, -a will send the message even to such
pseudo-terminals.
It is used to warn all users, typically prior to shutting down the system.
The sender must be superuser to override any protections the users may have invoked See mesg(1).
wall runs setgid() to the group ID tty, in order to have write permissions on other user's terminals. See setuid(2).
wall will detect non-printable characters before sending them to the user's terminal. Control characters will appear as a " ^ " followed
by the appropriate ASCII character; characters with the high-order bit set will appear in "meta" notation. For example, ` 03' is dis-
played as `^C' and `372' as `M-z'.
OPTIONS
The following options are supported:
-a Broadcast message to the console and pseudo-terminals.
-g grpname Broadcast to the users in a specified group only, per the group database (see group(4)).
ENVIRONMENT VARIABLES
If the LC_* variables (LC_CTYPE, LC_TIME, LC_COLLATE, LC_NUMERIC, and LC_MONETARY) are not set in the environment, the operational behav-
ior of wall for each corresponding locale category is determined by the value of the LANG environment variable. See environ(5). If LC_ALL
is set, its contents are used to override both the LANG and the other LC_* variables. If none of the above variables are set in the envi-
ronment, the "C" (U.S. style) locale determines how wall behaves.
FILES
/dev/tty*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Availability SUNWcsu |
+-----------------------------------------------------------+
SEE ALSO
mesg(1), write(1), setuid(2), attributes(5), environ(5)
NOTES
wall displays ``Cannot send to ...'' when the open on a user's tty file fails.
SunOS 5.11 13 Jul 1994 wall(1M)