sysutils/osname 2.0 NetBSD
Print canonical name of operating system
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- sysutils
- Package size
- 4.9 KiB, 9.6 KiB installed
Description
Osname prints the canonical name of the current operating system: lowercase, no special characters (e.g. hyphens). This is useful for scripts. Solaris is differentiated from SunOS.
Install
Binary package:
pkgin install osname
From pkgsrc:
cd /usr/pkgsrc/sysutils/osname && make install clean