☰
Debian Codegraph
@
1.10.1-1
/
/
tests
/
bin
/
hostname
☽
☼
tests/bin/hostname
code
plain
raw
symbols
SCIP
LGPL-2.1+
2007-2016 CEA/DAM <www-hpc.cea.fr>; 2016-2026 Stephane Thiell <
[email protected]
>
debian/copyright
1
#!
/bin/bash
2
# This is useful for simulating multiple nodes on localhost IPs,
3
# such as 127.0.0.2, during testing scenarios.
4
echo
$
SSH_CONNECTION
| {
IFS
=' ' read -r _ _ IP _;
echo
"$
IP
"; }