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
Differentiate cmp command from diff command.
What does this command do,"$more readme.txt“?
What does grep v grep do?
Is ‘du’ a command? If so, what is its use?
What does pipe () return?
What is grep in bash?
hw will u use awk in replacing cahrs and files
What does sed command do in unix?
What is the command to compare two files in unix?
Who command in unix operating system?
What is the search command in unix?
Why is grep called grep?
How do you grep recursively?
how to sort the content of the file based on numeric values
How can you see the command line history?