7
rated 0 times
[
7]
[
0]
/ answers: 1 / hits: 3402
/ 2 Years ago, fri, january 14, 2022, 3:36:28
When logging in via SSH, I'd like to know, during the execution of .bashrc
, the name of the host that is connecting.
Ubuntu Server shows the prompt:
Last login: Fri Feb 14 11:34:55 2014 from somehost.local
...so this information is available somewhere.
How can I access it?
More From » bash