Skip to content
Know you operating system from your terminal. Written in C.
C Shell Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deps/os.c add deps folder to the repository Apr 25, 2019
.editorconfig init Nov 11, 2018
.gitignore add deps folder to the repository Apr 25, 2019
.travis.yml jump to 1.0.1 Jan 26, 2019
Makefile init Nov 11, 2018
cli.c upgrade deps && fixed prototyping Jan 26, 2019
license init Nov 11, 2018
package.json
readme.md add other way to install it Apr 27, 2019
test.sh making changes to the test Jan 26, 2019

readme.md






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

You can’t perform that action at this time.