abranhe / os

Know you operating system from your terminal. Written in C.

Home Page:https://projects.abranhe.com/os

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool






os: Know your operating system from your terminal



Installation

Installing with Clib

$ clib install abranhe/os

Otherwise you can install by running the following on your terminal (Unix only)

$ curl -s https://sh.abranhe.com/os | bash

to uninstall it you can use

$ curl -s https://sh.abranhe.com/os/uninstall | bash

Usage

If you run:

$ os --help

You will get:

  Usage: os [options]

  Options:

    -h, --help      output help information
    -v, --version   output os version

  Examples:

    $ os
    macOS

Related

  • os.c: API for this module written in C.

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

About

Know you operating system from your terminal. Written in C.

https://projects.abranhe.com/os

License:MIT License


Languages

Language:C 41.7%Language:Shell 33.3%Language:Makefile 25.0%