Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stars Issues License

about

Orient yourself: OS/distro, shell, and how to look around — Cosmopolitan APE universal binary.

Report Bug · Request Feature

About The Project

One command to answer: what machine is this, and how do I look around?

Drop into a random Linux box via wsl, SSH, a container, or a teammate’s laptop, and the discovery story is a mess. about prints the orientation facts first, then a short cheat sheet of the commands that actually help on this OS family.

Under Nushell, the cheat sheet switches to structured nu idioms. Outside Nushell, you still get the full classic tip sheet — plus a nudge to install nu. Nushell is never required; about always runs.

(back to top)

Built With

  • Language

    • C

  • Portability

    • Cosmopolitan Libc (APE universal binary)

(back to top)

Getting Started

make
./about

Install onto PATH:

sudo make install    # PREFIX=/usr/local by default
about
make ape             # downloads cosmocc into .cosmocc/ on first run
./about.com

Usage

about                 # facts + discovery tips (nu-aware)
about tar             # short orientation card for a command
about -q              # facts only
about --tips          # tips only
about --nu            # force Nushell tip sheet
about --classic       # force classic tip sheet + Nushell nudge
about --format nuon   # structured record (pipe: about --format nuon | from nuon)
about --version

What it reports

  • OS / distro, kernel + architecture

  • Environment: native, WSL2, container hints

  • Hostname, user, home, cwd

  • Shell and terminal detection

  • Platform-specific "look around" commands

License

MIT — see LICENSE.

(back to top)

About

Orient yourself: OS/distro, shell, and how to look around — Cosmopolitan APE universal binary

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages