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 nslookup?

581


What are the unix commands?

567


What is the command to find hidden files in the current directory?

601


Describe the usage and functionality of the command rm –r * in unix?

833


What is pipe command in unix?

684






Enumerate some of the most commonly used network commands in unix?

628


Explain ‘library functions’ with respect to unix commands?

612


What command is used to check the current users?

602


What is the use of sed command in unix?

610


Who command in unix operating system?

669


What is awk used for?

628


What is awk good for?

594


What is time_t?

596


Can you explain a little bit about command substitution?

624


How do I search for a file in unix command?

559