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

What is .sh file?

839


How can you see the command line history?

826


How can we use grep command in unix?

843


What is the use of awk command in unix?

767


Why is shebang used?

805


What is the significance of the 'tee' command?

824


Which command is used to create a directory?

777


What is grep short for?

748


What is difference between grep and find command in unix?

835


What is the use of finger command?

831


Explain command to show the space allocation of files?

835


What are the differences among a system call, a library function, and a unix command?

798


How does shebang work?

808


What is merge command in unix?

1141


What is the difference between awk and grep?

807