Sample Header Ad - 728x90

Command to Get Calling Server's Name

0 votes
1 answer
570 views
A shell script running on a batch server will ssh (ssh -n root@prodfs1) to the file server to run another shell script, but we'd like to run subsequent shell scripts back on the original batch server. The who command does not return the name of the server that initiated the process. Is there a command that will provide the server name of the parent process? Thanks.
Asked by Michelle F (1 rep)
Mar 15, 2021, 03:17 AM
Last activity: Mar 15, 2021, 08:57 PM