Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send interactive messages

Status
Not open for further replies.

RicardoPereira

Programmer
Jun 3, 2003
255
PT
How do i send an interactive message to a user on linux. Something like net send on windows.

Thanks
Ricardo
 
Code:
talk [green]<username>[/green]

talk is like a small chat program, you can see as they type including mistakes and backspaces.

Code:
write [green]<username>
[message]
<CRTL-D>[/green]

write writes a message to one of their open terminal windows (possibly on top of useful information)... I like write, except when using console based text editors like pico/nano or vi(m). Also note that every time you press enter at the end of a line it shows up.

Code:
wall [green]<message>[/green]

[b]OR[/b]

wall
[green][message]
<CRTL-D>[/green]
wall is used to write all users, it's a special version of write. All data is held untill the end, so you can CRTL-C it if you want to rewrite it. You can also do something like:
Code:
vi [green]<file>[/green]
cat [green]<file>[/green] > aspell > wall

This would create a file [green]<file>[/green], write the file [green]<file>[/green] to all users after being run through a spell check.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top