Skip to content

A tool designed to return info about a target *nix machine

License

Notifications You must be signed in to change notification settings

JustinTimperio/nixinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixInfo

Nixinfo is a tool designed to return info about a target *nix based machine.

Usage

Sample output for each distro here.

Print For a User

$ curl -s https://raw.githubusercontent.com/JustinTimperio/nixinfo/master/nixinfo.sh | sh

Distribution='SHORTNAME'
Full_Name='Full Pretty Name'
Package_Manager='pkg_manager'
Kernel='#.#.#'
Major='####'
Minor='####'
Patch='####'

Import In a Shell Script

source /your/path/nixinfo/nixinfo.sh no-print

# Imported Vars Below
$distro
$full_name
$pkg_manager
$kernel
$major
$minor
$patch

Offically Supported Distros

Debian Based:

  • Ubuntu
  • Debian
  • Kali Rolling
  • Parrot OS

RHL Based:

  • Fedora
  • CentOS
  • RHEL
  • Oracle

Suse Based:

  • Leap
  • TumbleWeed
  • SLES

Arch Based:

  • Arch

Alpine Based:

  • Alpine

BSD Based:

  • FreeBSD

About

A tool designed to return info about a target *nix machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages