sending messages through terminal


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers sending messages through terminal
# 1  
Old 12-20-2001
sending messages through terminal

whats the cmd to send messages using terminal to another computer on our network?
We are running SOlaris CDE
# 2  
Old 12-20-2001
You might try 'write', 'talk', or 'mail' depending on your needs and the type of message.
# 3  
Old 12-20-2001
can you only send write messages from root?
# 4  
Old 12-20-2001
The user's environment may have messaging disabled
in which case ONLY root can "write" to their terminal.

A user can deny messaging using the "mesg n" command
but thay cannot block messages from root.
# 5  
Old 01-15-2002
You can also use the "cat" command provided you are using serial terminals. Whereas syntax is as follows:

Assuming "junebug" is logged in on tty /dev/ttya12



cat Let's go have lunch... ok? > /dev/ttya12 (Enter)

and the text "Let's go have lunch... ok? should appear on the
screen of terminal ttya12


Another solution is to use he "wall" command. The "wall" command will broadcast the message you type in to all users who are currently logged on.
# 6  
Old 01-16-2002
Talking to other users

talk login@hostname
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Debug3 messages throw in my terminal

OS: HP-UX B.11.31 U ia64 shell : /sbin/sh Messages like "debug3: Wrote 48 bytes for a total of 15837" are thrown in my terminal after each key stroke. If I try to type a command such message appears after each character I type. If I simply press enter messages like below appear. ... (1 Reply)
Discussion started by: black_fender
1 Replies

2. UNIX for Dummies Questions & Answers

Sending Mail in OS X Terminal

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

3. UNIX for Dummies Questions & Answers

Sending command from one terminal to another.

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

4. Homework & Coursework Questions

Sending encrypted messages (ssh or scp)

1. we are a group a students and we need a help for sending encrypted messages with unix (ssh or scp) 2. we tried to use ssh and scp protocol but we didn't manage to send the message because we don't know the correct syntax of the command and we are asked a password and we don't know which is... (1 Reply)
Discussion started by: supervavul
1 Replies

5. Solaris

Sending Messages to Users

How can I send messages to users who are logged in unto the server with Solaris 9 OS without going into the application? (3 Replies)
Discussion started by: rahmantanko
3 Replies

6. UNIX for Advanced & Expert Users

Sending messages to Phone

Hi experts, I am using Linux 2.6.9. My requirement is I want to send a message to the phone once my scheduled backup is complete. I don't know whether it's possible or not but I heard it can be done but don't know how. Can comebody help me on this? Thanks in advance. Gary (1 Reply)
Discussion started by: abcabc1103
1 Replies

7. Shell Programming and Scripting

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... (5 Replies)
Discussion started by: naamas03
5 Replies

8. UNIX for Advanced & Expert Users

sending a null character to a terminal

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

9. Programming

Sending INtr key for remote terminal

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

10. UNIX for Advanced & Expert Users

Sending Finder Messages/Alerts in UNIX

I recall a UNIX command and remember actually using it where you could send finder alerts/messages to the Finder on the machine you were on or use ssh so as to send the alerts/messages to another machine on the network. You could also send Finder Alerts/Messages that had a reply field in the sense... (0 Replies)
Discussion started by: Peaves
0 Replies
Login or Register to Ask a Question