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
How do I search for a file in unix command?
Which command will print your home directory on screen?
How do you repeat a command in terminal?
Enumerate some of the most commonly used network commands in unix?
What is grep and how do you use it?
Write a command that will display files in the current directory, in a colored, long format.
How do I run a bash script?
What does find command return in unix?
What is the command to find maximum memory taking process on the server?
What does grep v do?
How do I use nslookup?
Who invented grep?
What is awk used for?
What are awk commands?
What are grep patterns?