how to show ip adress in terminal as name code example
Example: get your ip address from terminal
for local ip :
hostname -I
for Public ip :
curl icanhazip.com
for local ip :
hostname -I
for Public ip :
curl icanhazip.com