Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get your ip address from terminal

for local ip :

hostname -I

for Public ip :

curl icanhazip.com
Source by www.commandline.tips #
 
PREVIOUS NEXT
Tagged: #ip #address #terminal
ADD COMMENT
Topic
Name
4+7 =