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
What is .sh file?
How can you see the command line history?
How can we use grep command in unix?
What is the use of awk command in unix?
Why is shebang used?
What is the significance of the 'tee' command?
Which command is used to create a directory?
What is grep short for?
What is difference between grep and find command in unix?
What is the use of finger command?
Explain command to show the space allocation of files?
What are the differences among a system call, a library function, and a unix command?
How does shebang work?
What is merge command in unix?
What is the difference between awk and grep?