Basic Linux Tutorial
Computer Tutorial

Berkeley Services Commands



The rlogin Command

Berkeley Service to remotely log in to another computer; rlogin attempts to log you in using local user name. rlogin assumes that you are logging in to the remote computer with the same name you used to log in to the local system.

Synopsis :

$rlogin   hostname

Example :

$ hostname
generalnote
$ rlogin zen
Password:
$ hostname
zen

The rcp Command

rcp stands for remote cp. That is because it works just as the cp command does. It works between two computers running the Berkeley Services.

Synopsis :

rcp   host1:source   host2:dest

The remsh Command

remsh allows you to run a program on a remote computer and see the results on your terminal. It is a Berkeley Service.

Synopsis :

$ remsh   hostname   command

Example :

$ remsh   generalnote   ls /tmp
List the files in generalnote's /tmp directory

The rwho Command

The rwho command operates similarly to the who command, but will look for users on all of the systems in your LAN that are running the rwho daemon.

Synopsis :

$ rwho

Example :

$ rwho
user1 zen:tty 0p1 Jul 18 8:23:10
user2 zeen:tty 0p1 Jul 18 8:23:10
user3 general:tty 0p1 Jul 18 8:23:10

The ruptime Command

The ruptime command will display the status of the systems in the LAN, whether they are up or down, how many users are currently running on each system, and machine loading information.

Synopsis :

$ ruptime

Example :

$ ruptime
zen up 3:10 1 users load 1.32, 0.80, 0.30
zeen up 1+5:15 4 users load 1.47, 1.16, 0.80
general down 0:00