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)
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)
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)
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)
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)
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)
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)
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)
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 SUNOS
mesg
mesg(1) User Commands mesg(1)NAME
mesg - permit or deny messages
SYNOPSIS
mesg [-n | -y | n | y]
DESCRIPTION
The mesg utility will control whether other users are allowed to send messages via write(1), talk(1), or other utilities to a terminal
device. The terminal device affected is determined by searching for the first terminal in the sequence of devices associated with standard
input, standard output, and standard error, respectively. With no arguments, mesg reports the current state without changing it. Processes
with appropriate privileges may be able to send messages to the terminal independent of the current state.
OPTIONS
The following options are supported:
-n|n Denies permission to other users to send message to the terminal. See write(1).
-y|y Grants permission to other users to send messages to the terminal.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of mesg: LANG, LC_ALL, LC_CTYPE, LC_MES-
SAGES, and NLSPATH.
EXIT STATUS
The following exit values are returned:
0 if messages are receivable.
1 if messages are not receivable.
2 on error.
FILES
/dev/tty* terminal devices
/dev/pts/* terminal devices
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO talk(1), write(1), attributes(5), environ(5), standards(5)SunOS 5.10 31 Oct 1997 mesg(1)