vroby65 / myip

return the public ip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project

A simple program to retrieve the public IP address.

Requirements

  • curl: You need to have curl installed to fetch the public IP address.

Installation

  1. Clone the repository: git clone https://github.com/yourusername/project.git
  2. Navigate to the project directory: cd project
  3. make execute permission to file myip and copy in usr/local/bin

Usage

To retrieve the public IP address, run the following command:

myip

The program will output your public IP address.

Contributions

Contributions to this project are welcome. You can open issues and submit pull requests to propose changes.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

About

return the public ip

License:MIT License