index
:
naresh.kamboju/multinode-experiment.git
master
[no description]
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
get_ip
blob: 4e338ef083ebd545fa520b857e1c34f5106b5ff5 (
plain
)
1
2
3
4
5
#!/bin/sh set -e ifconfig|grep "inet addr"|grep -v "127.0.0.1"|cut -d: -f2|cut -d' ' -f1