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 are awk commands?
How do I search for a file in unix command?
What is the use of awk command in unix?
hw will u use awk in replacing cahrs and files
Is command prompt unix?
What do chmod, chown, chgrp commands do?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What does grep v grep do?
How do I use grep to find a file?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the command to compare two files in unix?
What is awk command used for?
What is the use of find command in unix?
What is the size of time_t?