This website requires JavaScript.
Explore
Help
Sign In
XorA
/
bash-it
Watch
1
Star
0
Fork
You've already forked bash-it
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
423da31d2e
bash-it
/
lib
/
get_ip.py
5 lines
94 B
Python
Executable File
Raw
Blame
History
#!/usr/bin/env python
import
socket
ip
=
socket
.
gethostbyname
(
socket
.
gethostname
(
)
)
print
(
ip
)
Reference in New Issue
View Git Blame
Copy Permalink