Write a message on specific user terminal


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Write a message on specific user terminal
# 1  
Old 07-19-2010
Write a message on specific user terminal

Hi All,

Need urgent help!!!

Can anyone tellme how can we send a message on specific user terminal and get a response from user in return.

Thanks in advance.
# 2  
Old 07-19-2010
man write ==> for one directional
man talk ==> for two directional

for your case talk <terminal name/id>
# 3  
Old 07-19-2010
Java

I want to implement this in scritping and based on users return message need to take action.

So these talk, mesg, wall will nto work.
Can you suggest somethng else.
# 4  
Old 07-19-2010
write user terminal(e.g pts/1)

e.g write sadhana pts/1

take help of who command to find out the particular terminal...

---------- Post updated at 06:58 AM ---------- Previous update was at 06:52 AM ----------

Sorry above wont help your cause...

Last edited by ningy; 07-19-2010 at 08:57 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Colorful message is displayed in the terminal but not in the log file

Is there any way to print the colorful message in the terminal (which is the output of a simulation) to the log file with the same color. The colorful message at the terminal is obtained by the following codes: /////////////codes start here/////////////////////////////////////// ... (5 Replies)
Discussion started by: babunp114525
5 Replies

2. Solaris

Giving read write permission to user for specific directories and sub directories.

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies

3. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies

4. Shell Programming and Scripting

Write aiff tags in terminal

How can I write metadata to AIFF files in terminal, I'd like to write the 'track number' field of ID3. (2 Replies)
Discussion started by: fhill2
2 Replies

5. Shell Programming and Scripting

When trying to open file Message:-Terminal too wide?

Hi, I am trying to open small size file only in vi editor on solaris or Linux machine but it giving message "Terminal too wide" and then I have to come out. As shown below:- -rwxr-x--- 1 rkycadm rkycprd 2445 Sep 12 04:06 $ vi file.txt Terminal too wide :q! ----------... (2 Replies)
Discussion started by: RahulJoshi
2 Replies

6. OS X (Apple)

Write message to another user on same network

On our home network, with 2 Macbook pros running OS X 10.6.*, I would like be able to popup a message to the user of the other computer. Is there a way I can "call" from one computer to another not using skype, or ichat or any application that the user has to have running? I guess first I... (8 Replies)
Discussion started by: allelopath
8 Replies

7. Shell Programming and Scripting

How to display message when starting a terminal

Hello all, I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal? Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies

8. Shell Programming and Scripting

WRITE a message in console

Hi all, I have a requirement, where I need to do some calculations and based on the results I need to write a message to the user from a shell script. Is it possible to `write' inside the script? Something like the below one.. #! /bin/ksh write user12 << EOF Hello World <<EOF For... (2 Replies)
Discussion started by: guruparan18
2 Replies

9. 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
Login or Register to Ask a Question