Skip to main content

How To Find IP public and IP private on an linux

 How To Find IP public and IP private on an linux

 

 Hello all,
Today is Friday 26 December 2020.
I want to talking about finding IP public ( Internet Protocol ) using linux terminal.

IP public is address name for global internet, with IP public user can access any servers internet ( there are various types of servers on the internet ) as long server is connected with internet and as long user is connected with a internet.

IP private is address name for LAN ( local area network ), user can only use IP private in a local area ( for example: school, office and etc ). IP private should not be use in a World Wide Internet for security purpose. Basically user can only use IP private on a local area network, use IP private to transfer file, etc.

How To Find IP public

---------------------------------

# open terminal
sudo apt install curl
curl ifconfig.me


How To Find IP private
---------------------------------
# open terminal
hostname -I
hostname -h # for help



if you have any question feel free to ask at: ghost087@protonmail.com

 

Have a nice day

Comments

Popular posts from this blog

Easy | installing osu on an linux using wine application

Easy | installing osu! on an linux using wine application Hello all, Today i want to talking about installing osu on an linux. recently i get bored using linux because osu rhythm game is not compatible with linux, so i think how about using wine application to make osu compatible with linux, and more or less i success.  osu is rhythm game, this game is world wide know as the popular rhythm game, osu have so many player over the world wide, and many player contribute to osu to make osu more and more fun. Inside osu game player can contribute Bitemap, Skin for osu game, etc. before we go,  we need to install wine application: How To Install -------------------------------------------  # Download osu! first  https://osu.ppy.sh/home/download   # open terminal in the same folder you download osu! sudo apt install winetricks  winetricks dotnet45 # install every recommendation application from winetricks wine osu.exe # this time...

ubuntu 20 04 light review using core 2 Duo

ubuntu 20 04 light review using core 2 Duo Hello all, Today is Monday 28 December 2020. I want to make light review about ubuntu 20.04 using core 2 Duo ( core 2 Duo E8400 ).  First i want to make a detail spessification my computer: MotherBoard = Amptron G41AGB3 Power Supply = Enlight 400W  Graphic Card = Nvidia  340  Memory = I have dual channel ( Apacer ddr2 2048MB ), ( Samsung ddr2 2048MB ) Operating System = Ubuntu 20.04 LTS Storage = Hardisk Seagate 320 GB Cpu Fan = intel lga 775 processor  cooler = 2 pc fan 9cm bios = AMI BIOS ( from 2019 )  ----------------------------------------------------- ubuntu is OS ( operating system ) based on debian linux, with open source license user is allowed make a change to source code and publish them, and user can contribute to ubuntu directly. ubuntu operating system is one of the best linux operating system. Ubuntu have a three type operating system: 1. Ubuntu desktop Ubuntu desktop is operating system for normal ...

Notebook samsung 275E light review

                                          Notebook samsung 275E light review Hello all, Today is Saturday 2 January 2021. I want to talking about My laptop ( NoteBook SAMSUNG 275E ) and My Experience using this laptop. I bought this laptop around 2015, in that time i still don't have a computer or a laptop, that's my reason to buying laptop. Laptop spesification CPU: AMD E1-1500 APU with Radeon(tm) HD Graphic RAM: 2048MB ( this is default), 6GB ( After Upgrade ) SYSTEM: POP!_OS 20.04 LTS   What this laptop can do? - " Build simple Game " The Operating System i using is POP!_OS 20.04 and The Framework I using is pygame ( pygame is a package to build game from an python ) - " CPU test using sysbench " The BenchMark application I using is called ' sysbench ', this application is easy to use and install. I using this application is to get information about my com...