Code Monkey home page Code Monkey logo

strlnkipscn's Introduction

StrlnkIPScn

A small, simple, powerful, fast, cross-platform CLI program to scan all devices on your local network. First made for my Starlink network so i can see when my server changes its address. img.png

Installation

You will need Java 21 or higher to run this program!

Download the latest release from the releases page and run the jar file with java -jar StrlnkIPScn_1-0-0.jar <Arguments>.

CLI Arguments

Argument Description Default Value Input Type
-sl Lowest subnet to scan 1 Integer
-sh Highest subnet to scan 1 Integer
-rl Lowest ip range to scan 1 Integer
-rh Highest ip range to scan 254 Integer

How to add to PATH

Want to add this program to PATH, so you can use it from anywhere at any time?

Windows

  1. Create a batch file named strlnkipscn.bat in the same directory as your jar file with the following content:
@echo off
java -jar %~dp0\StrlnkIPScn_1-0-0.jar %*
  1. Add the directory containing your jar file and the batch file to the PATH environment variable. You can do this by:
    • Press your Windows key and search for PATH.
    • Click on Edit the system environment variables.
    • Click on Environment Variables.
    • Under System Variables, find PATH, and click on it.
    • In the Edit windows, modify PATH by adding the directory of your jar file at the end, preceded with a semicolon (;).

Linux

  1. Create a bash script named strlnkipscn in the same directory as your jar file with the following content:
#!/bin/bash
java -jar $(dirname "$0")/StrlnkIPScn_1-0-0.jar "$@"
  1. Make the script executable by running chmod +x strlnkipscn in the terminal.
  2. Add the directory containing your jar file and the bash script to the PATH environment variable by adding the following line to your ~/.bashrc or ~/.bash_profile file:
export PATH=$PATH:/path/to/your/jar/directory
  1. Run source ~/.bashrc or source ~/.bash_profile to apply the changes.

Now, you should be able to run your program just by typing strlnkipscn in the console

strlnkipscn's People

Contributors

bluemethyst avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.