Unix Network Command - telnet rlogin write who

telnet:
Telnet is an application level internet protocal. The telnet command allows you to
connect to the remote machine. If you have a account on a local network or on
the internet, you can use telnet with the hostname or ipaddress.
Syntax:
$telnet
Eg:
$telnat 192.168.1.10
o/p:
trying 192.168.1.10....
connected to 192.168.1.10
escape character is '^]'.
hp-ux 11i
login
you have to enter your login name at this prompt, and then the password to gain
access on to the remote machine. As long as we are logged in what we type here
will be sent to the remote machine.

rlogin:
The rlogin command allows remote login access to another host in the local
network. rlogin
passes information about the local environment, including the value of term
environment variable.
Syntax:
$rlogin [-r username ] remote_host
example:
$rlogin -r sun20
This will establish the remote connection with the sun22 machine.
SWARNA BHARATHI COLLEGE OF ENGINEERING
MCA III SEM
16
PAGE NO. 17

write:

‘Write’ allow you to communicate with other users, by copying lines from your
terminal to theirs. When you run the write command, the user you are writing to
gets a message of the form:
Message from yourname@yourhost on yourtty at hh:mm...
Any further lines you enter will be copied to the specified user’s terminal. If
the other user wants to reply, they must run write as well. When you are done,
type an end-of-file or interrupt character. The other user will see the message
EOF indicating that the conversation is over.
syntax:
$write user [ttyname]
Eg:
$write mca pts/1

who command:
UNIX maintains an account of all the current users of the system. It is good idea
to know the people working on the various terminals so that you can send them
messages directly. A list of them is displayed by the user who invoked this
command.
Root console
may
29
10:20
Scott oral may 29 11:10
Smith java may 29 13:57
The who command, when used with the arguments am I, displays a single line of
output only i.e., the login details pertaining to the user who invoked this
command.
Syntax:
$who option
Eg:
$ who –u //here u is used for mentioning idle time
$who am I // Finally an argument as am i Unix Network Command

Related post