LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2010, 01:38 AM   #1
aby
LQ Newbie
 
Registered: Dec 2010
Location: mumbai
Distribution: Red Hat LInux 5.0
Posts: 24

Rep: Reputation: 0
Smile regarding net send command in linux .........


hi
every body

hope you will know the net send command of windows.

in the same way we are working on linux red hat 5.0 we want to know the equivalent command of net send for linux if any body know then please tell us?

& we are here only when we not found on google so please do not give the suggestion of searching on google

thanks in advance.....
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-20-2010, 01:42 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Try with wall
Quote:
wall "message here"
 
Old 12-20-2010, 01:46 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
The NET SEND command is described here. It's like the wall and write commands but can send to remote systems too.
 
Old 12-20-2010, 02:10 AM   #4
aby
LQ Newbie
 
Registered: Dec 2010
Location: mumbai
Distribution: Red Hat LInux 5.0
Posts: 24

Original Poster
Rep: Reputation: 0
Smile

thanks for reply in advance...

Last edited by aby; 12-20-2010 at 02:31 AM. Reason: thanks
 
Old 12-20-2010, 02:30 AM   #5
aby
LQ Newbie
 
Registered: Dec 2010
Location: mumbai
Distribution: Red Hat LInux 5.0
Posts: 24

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by catkin View Post
The NET SEND command is described here. It's like the wall and write commands but can send to remote systems too.
like net send we send message to other computer on local network of windows

& we want same for the linux

i.e. we need to send message from one red hat linux computer to other red hat linux computer on the local network


i tried wall & write but i dont know how to use ..

& heartly thanks for reply in advance...

Last edited by aby; 12-20-2010 at 02:34 AM.
 
Old 04-14-2011, 08:00 PM   #6
vvim
LQ Newbie
 
Registered: Apr 2011
Location: home
Distribution: crunchbang
Posts: 1

Rep: Reputation: 2
Hello Aby,

both 'wall' and 'write' are commands that you can issue through a terminal. The best way to get information is to read the 'man'-pages. Open a terminal and type 'man wall' or 'man write' and you will get all the information that you need.

To make it easy, I can narrow it down here for you (but then you have to promise to adopt a kitten and name it after me!)

Open a terminal and use the command 'who' to see who's online:

Code:
wim@nerdypc:~$ who
wim      tty7         2011-04-15 00:28 (:0)
nerd     tty3         2011-04-14 13:46 (:0)
geek     tty2         2011-04-15 01:02 (:0)
wim      pts/0        2011-04-15 00:39 (:0.0)
You can see that I (wim) am both logged in through terminal 7, that I am also straight at the computer (pts/0), and that there are two other users ('nerd' and 'geek').

If I want to write something to 'nerd', then I just issue the command:

Code:
wim@nerdypc:~$ write nerd
and from then on, whatever I type will appear in nerd's terminal session. Every time I press 'enter', the string will be sent to nerd. To stop transmitting, press CTRL+D .

Nerd will have received something as follows:

Code:
nerd@nerdypc:~$ justinthemiddleofsomething.sh
Message from wim@nerdypc on pts/0 at 00:45 ...
Howdieharhar,
this is ye matey wim, how art thee?

EOF
.

Now, the command wall is to broadcast to all users currently logged in on a terminal session of the computer. So to broadcast (you might need to be superuser, depending on the user regulations), I do the following:

Code:
wim@nerdypc:~$ wall
And I can start typing whatever I want, just a short sentence or even a full poem if I'd like. The message won't be sent until I end it all by pressing (again) CTRL+D . Only then, both 'nerd' and 'geek' (and whomever has also logged in by now) will see the following on their screen:

Code:
geek@nerdypc:~$ justinthemiddleofsomething.sh
Broadcast Message from wim@nerdypc
   (/dev/pts/0) at 00:45 ...

Dear Serfs,

prepare to activate and take over ze vorld.

So, to re-cap: 'write' is to send a message to a single user and the message gets sent every time you press the 'enter' button. 'wall' is used for broadcasting and the complete message gets sent at once at the end.

Besides that, I used to know of the command 'talk' . The recipient has to issue a command as well to accept the talk-invitation and then you will be in some sort of inbuilt chat-system that takes up the whole screen, one user can (in realtime) type at the bottom, the other at the top-half.

Hope this helps. Kind greetings,

Wim
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to send and receive "Net Send" messages in Linux? Avatar Linux - Networking 16 07-11-2010 09:42 PM
net send in linux hbk Linux - Networking 3 02-11-2005 09:25 AM
Net Send in Linux???? djadhav Linux - Software 7 06-09-2004 07:08 AM
How to do 'net send' in linux? djadhav Linux - Software 4 03-29-2004 11:42 AM
Net Send in linux sandy Linux - General 7 08-30-2002 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration