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 are awk commands?

578


How do I search for a file in unix command?

541


What is the use of awk command in unix?

569


hw will u use awk in replacing cahrs and files

2721


Is command prompt unix?

570






What do chmod, chown, chgrp commands do?

624


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

616


What does grep v grep do?

546


How do I use grep to find a file?

573


Explain how to use grep command to list find the records of a file containing 10 different strings?

587


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

630


What is the command to compare two files in unix?

614


What is awk command used for?

596


What is the use of find command in unix?

572


What is the size of time_t?

635