OnWorks favicon

innetgr - Online in the Cloud

Run innetgr in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command innetgr that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



innetgr - Check netgroup membership


innetgr [-d domain] [-h host] [-u user] [-v] <netgroup>


innetgr checks if the specified user, host or domain is a member of the given netgroup.
The program does not produce any output unless the verbose ( -v ) flag is given.

The exit status is 0 if the user/host/doman combination is a member of the given netgroup.
Exit status is 1 if the combination is not found in the group, and 2 if one of the
arguments are invalid.


--domain <domain> | -d <domain>
Search in the given domain.

--host <host name> | -h <host name>
Search for the given host name.

--user <user name> | -u <user name>
Search for the given user name.

--verbose | -v
Enable verbose mode

--version | -V
Show version information.


To check if the current host is listed in the netgroup allhosts, use this command line:

if innetgr -h `uname -n` allhosts ; then echo "Found"; fi


A innetgr program first appeared in NetBSD 1.4.


Petter Reinholdtsen <[email protected]>

Use innetgr online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 2
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 3
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    Download Osu!
  • 4
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 5
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    Download Metal detector based on RP2040
  • 6
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • More »

Linux commands