Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

IP adress terminal

# when you're on your terminal Window : 
ipconfig

# on macOS : 
ifconfig | grep "inet" | grep -v 127.0.0.1

# on Linux : 

hostname -I
Comment

get your ip address from terminal

for local ip :

hostname -I

for Public ip :

curl icanhazip.com
Comment

check ip in terminal

#In windows terminal, type:
ipconfig
#You will see your computer ipv4 and other info
Comment

PREVIOUS NEXT
Code Example
Shell :: docker-compose permission denied 
Shell :: git log by date 
Shell :: how to install gnome user theme extension terminal 
Shell :: albert for ubuntu 
Shell :: node upgrade mac os x 
Shell :: start ubuntu hotspot from terminal 
Shell :: git change personal access token command line 
Shell :: install virtualmin 
Shell :: prettier whole project 
Shell :: delete all files in a folder in ubuntu 
Shell :: start docker at boot 
Shell :: kali linux upgrade to new version 
Shell :: elastic beanstalk installation command on cli 
Shell :: connect redis cli 
Shell :: bash echo to stderr 
Shell :: gdate mac 
Shell :: install yarn in ubuntu 
Shell :: get saved wifi password windows 10 
Shell :: django runserver no reload 
Shell :: find current working directory bash 
Shell :: restart tomcat 
Shell :: install babel loader 
Shell :: install github linux 
Shell :: firebase hosting did not update 
Shell :: fatal: could not lookup name for submodule 
Shell :: apache config location 
Shell :: how to compare float values in shell script 
Shell :: how to create a bash script 
Shell :: install pecl on mac 
Shell :: how to remove git history for a file 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =