| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| fishsponge |
Posted: Feb 21 2003, 11:19 AM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
What's the difference between 'rsh' and 'rlogin' ??
i know they are two separate commands, but is one simple an alias for the other? ...or is something deeper happening? |
| nw28840 |
Posted: Feb 24 2003, 04:23 PM
|
|
Newbie ![]() Group: Members Posts: 1 Member No.: 19 Joined: 24-February 03 |
rsh is a remote shell
rlogin is remote login So if you run rsh <hostname> it will be the same as an rlogin <hostname> Difference is you can send commands to the host by activating a shell with rsh ie. rsh <hostname> date Should return the output of the date command on the host you specified. :D |
| fishsponge |
Posted: Feb 24 2003, 05:25 PM
|
||||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
gotcha...
so in theory, running
i know it's be kinda pointless to do that, but it's true... i think. |
||||
| venkat_venkamolla |
Posted: Apr 7 2005, 01:54 PM
|
|
User Level: 2 ![]() ![]() Group: Members Posts: 13 Member No.: 906 Joined: 4-April 05 |
No that's not only the difference:
RSH Through rsh you can only invoke the remote shell and run command. Once your command is executed the shell is closed and connection lost. RLOGIN It is the remote login. once you logged in your session will start, the session lasts as long as you didnot exit from the login. So you can invoke multiple shells and execute multiple commands at the remote prompt. I think this is the major diff |
![]() |
![]() ![]() ![]() |