This command sends brief messages to NetWare file service clients.
TNHOME/usr/bin
nwmessage [-u user] [-c client] [-s service] message
-u user |
Specify the UNIX user name of a connected TAS user. |
-c client |
Specify the machine name of a connected client. Since NetWare machines have no names, use the exact client name that the tninfo -f command reports. |
-s service |
Specify the name of a NetWare file service. Use this option to send message to all clients connected to a service. |
message |
Specify the message text to send to clients. It can contain no more than 55 characters--a NetWare restriction. Enclose your message in quotes if it includes any of the following characters: # $ & * [ ` " ` ? | ^ ! |
Use the following command to send the message "I will back up the server tonight." to all connected clients:
nwmessage "I will back up the server tonight." |
Use the following command to send the message "Hello." to the user spartacus:
nwmessage -u spartacus Hello. |
Use the following command to send the message "Who are you?" to the client X(00000100:00aa001a940b):
nwmessage -c "x(00000100:00aa001a940b)" "Who are you?" |
Use the following command to send the message "I will shut down the server in 5 minutes!" to all clients connected to the file service nwpinial:
nwmessage -s nwpinial:file "I will shut down the server in 5 minutes!" |