NetFetch

The NetFetch command is a cross-platform network scanning utility designed to locate devices and services within a network. It identifies and lists all available devices and their services, similar to the avahi-browse -a -t command in Linux, but with enhanced compatibility for Windows, and other operating systems.

command shell

Usage

To scan the network for devices and services, use the following command:

pras netfetch

To access the NetFetch command in the interactive shell, use:

netfetch

Flags and Options

The NetFetch command includes the following flags and options:

-s | --search

Searches for devices and services in the network matching the specified keyword.

pras netfetch -s [keyword]
# or
netfetch -s [keyword]   # if using the interactive shell

-l | --loop

Works with the -s flag to continuously scan the network for a device matching the keyword. NetFetch will only stop when the specified device connects to the network.

pras netfetch -s [keyword] -l
# or
netfetch -s [keyword] -l   # if using the interactive shell

Additional Notes

  • Timeout: When using only the -s flag (without -l), NetFetch searches for up to 1 minute. If no matching device is found within that time, the command terminates automatically.
  • Device Compatibility: NetFetch is designed to support a wide range of devices and services commonly available in networked environments, including file-sharing servers, printers, and various IoT devices.