How to check whether some services are running in another
server or not?
Suppose i am currently in a server named A.I want to check
whether some services are running in server B without
logging into the server B.

Answer Posted / shh

rsh command
executes command on the specified hostname. To do so, it
must connect to a rshd service (or daemon) on the hostname
machine


rsh [username@]hostname [-DNn] [-l username] command

-D
enables socket debugging on the TCP sockets used for
communication with the remote host. This option also
displays the locuser and remuser being sent to rshd

-l username
specifies the remote user name to be used when executing
the command. This can also be specified by including
username@hostname on the command line


-N
does not generate a separate standard error stream. All
output is sent to standard output. This is useful when you
are running an interactive command


-n
redirects input from the special device /dev/nul.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to search for a file?

580


What is the function of grep command in unix?

588


Give the command for finding the current date.

583


What is the use of find command in unix?

581


What is the difference between cat command and more command?

599






What do chmod command do?

603


What is awk good for?

584


What is in grep command?

648


What is a command and examples?

583


What are grep patterns?

579


What are filter commands in unix?

555


Which command will print your home directory on screen?

546


Differentiate cmp command from diff command.

586


How does the system know where one command ends and another begins?

1577


What are awk commands?

582