in reply to Re^2: Net::SSH::Any does not return output for few specific commands
in thread Net::SSH::Any does not return output for few specific commands

My problem got solved. Instead of "who am i" I used "whoami" and i got the output.

I even tried "who -am -u" but it did not work but i could not find out why capture doesn't return output for those commands.

Thanks anyways.
  • Comment on Re^3: Net::SSH::Any does not return output for few specific commands