A lightweight command-line utility that displays your system's IP addresses in a clean, readable format.
- Simple: Clean, focused output showing only IP addresses
- Multi-Protocol: Supports both IPv4 and IPv6 addresses
- Cross-Platform: Works on macOS, Linux, and other Unix-like systems
- Zero Dependencies: Pure C implementation with no external dependencies
-
Clone the repository:
git clone https://github.com/bosoud/iptool.git
-
Navigate to the project directory:
cd iptool -
Build and install:
make sudo make install
Display your IP addresses:
iptoolExample output:
IPv4: 192.168.1.100
IPv6: fe80::1234:5678:9abc:def0
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This tool requires appropriate permissions to access network interface information.
- Create an Issue: GitHub Issues
- Send a Pull Request: GitHub Pull Requests
Made with ❤️ by Bosoud