Write command


 
Thread Tools Search this Thread
Top Forums Programming Write command
# 1  
Old 11-20-2012
Write command

Hi to all the members at unix.com

I have an issue in write command.
Alhtough i know that basically the write command is used to write at the terminal.
So suppose i use the write command then at the target terminal i get "Message from <id>@<servername> on <pts> <time>" and then the <msg>
What i need is that when i run the write command, then in the target terminal my id should not be displayed. It should display some anonymous id instead of my id.

is there any possible way to do this
Any help would be appreciated.
# 2  
Old 11-20-2012
No! You may want to anonymously screw up someone else's terminal session, but fortunately the system doesn't give you that option. If you want to start a conversation, the recipient needs your ID and terminal to write back to you. The write utility was designed to support two way conversations.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How can I write nested command substitutions?

Hello How can write the nested command substitutions? echo `expr substr $x 1 expr ${#x} - 1` the above code is not working! Thanks in advance Regards Chetanz (5 Replies)
Discussion started by: Chetanz
5 Replies

2. Shell Programming and Scripting

Write Command - with script

This is all on a Unix computer where I login using Putty (for references sake). I was wondering if it was possible to use the write command with an already predetermined message in mind. I'm attempting to write to another user, but I'd like to do something like: write user1 "Message" So... (2 Replies)
Discussion started by: eXist73
2 Replies

3. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

4. Shell Programming and Scripting

clarification Required in Write command

Hi All, can you please help me to get clarified about the 'write' command. I have a script that sends a content of a file msg.txt to other user 'User B' using 'write' command. Script: ------ ..... cat msg.txt | write "user B" ..... Issue: I face a issue here, this scripts sends... (3 Replies)
Discussion started by: little_wonder
3 Replies

5. Shell Programming and Scripting

how to write 2 variables while using read command

Hello All i have input files contains 2 values as following 20-Oct-09 Z59408009 20-Oct-09 Z59423060 and i am using the following script cat /home/or/input.txt | awk '{print $2}' >log count=0 while read line; do count=$(( count + 1 )) echo "UPDATE SAT_JRLTRT SET AVT='X' WHERE... (6 Replies)
Discussion started by: mogabr
6 Replies

6. Shell Programming and Scripting

SED command for read and write to different files

Hi I need some help on SED command I am writing a shell script which does the following: 1. Read one line at a time from a file abc.txt which has millions of lines 2. Prefix each line read with some text " 3. Post fix each line read with a quote " 4. Write the new modified... (11 Replies)
Discussion started by: gaurav_1711
11 Replies

7. Shell Programming and Scripting

write a c program that simulates ls command

i need the a c program that simulates the "ls" command:b: (5 Replies)
Discussion started by: madhu.it
5 Replies

8. UNIX Desktop Questions & Answers

write a command that will do the ff:

write a command that will do the following: list all files in and below your home directory that contain letter 'a' in their filenames. (1 Reply)
Discussion started by: 2071fox
1 Replies

9. UNIX for Dummies Questions & Answers

Plz Help : How to use write command to execute command on some other terminal

Hi Group , I m trying to execute commands on some other system using write command but inspite of executing the commands they r passed as simple messages. - i m writing >write user-id ! ls o ctrl-d inspite of executing the command ls,other terminal shows ! ls. Thnx in advance. (2 Replies)
Discussion started by: Aashish
2 Replies

10. UNIX for Dummies Questions & Answers

help me write a find command

At times I have thse Oracle logfiles that grow like crazy and fill up a specific file system. I wanted to write a find command that lists which are the biggest files from the search path..so /qbidora02/oracledba/find . -name ....... <downward to the lowest level> and list file names, sizes and... (2 Replies)
Discussion started by: jigarlakhani
2 Replies
Login or Register to Ask a Question