https://github.com/nao1215/posixer
posixer - Check if the POSIX command is installed on your system
https://github.com/nao1215/posixer
cli cli-app command-line command-line-tool posix shell
Last synced: 4 months ago
JSON representation
posixer - Check if the POSIX command is installed on your system
- Host: GitHub
- URL: https://github.com/nao1215/posixer
- Owner: nao1215
- License: mit
- Created: 2022-03-21T05:09:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-15T20:45:21.000Z (about 1 year ago)
- Last Synced: 2025-10-29T21:29:18.818Z (8 months ago)
- Topics: cli, cli-app, command-line, command-line-tool, posix, shell
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://github.com/nao1215/posixer/actions/workflows/build.yml)
[](https://github.com/nao1215/posixer/actions/workflows/unit_test.yml)
[](https://github.com/nao1215/posixer/actions/workflows/reviewdog.yml)
[](https://goreportcard.com/report/github.com/nao1215/posixer)

# posixer - Provides information about POSIX commands
**posixer** checks if the POSIX command is installed in your system.
# How to install
### Step.1 Install golang
posixer command only supports installation with `$ go install`. If you does not have the golang development environment installed on your system, please install golang from the [golang official website](https://go.dev/doc/install).
### Step2. Install posixer
```
$ go install github.com/nao1215/posixer@latest
```
# How to use
### Checks if the POSIX commands is already installed
```
$ posixer check
+------------+----------------+----------------+---------------------+
| NAME | TYPE | IN YOUR SYSTEM | PATH |
+------------+----------------+----------------+---------------------+
| alias | shell built-in | installed | /usr/bin/alias |
| bg | shell built-in | installed | /usr/bin/bg |
| cd | shell built-in | installed | /usr/bin/cd |
| command | shell built-in | installed | /usr/bin/command |
:
:
| wait | shell built-in | installed | /usr/bin/wait |
| ar | required | installed | /usr/bin/ar |
:
:
| xargs | required | installed | /usr/bin/xargs |
:
:
| val | optional | not installed | - |
| vi | optional | installed | /usr/bin/vi |
| what | optional | installed | /usr/bin/what |
| yacc | optional | installed | /usr/bin/yacc |
| zcat | optional | installed | /usr/bin/zcat |
+------------+----------------+----------------+---------------------+
```
### List up POSIX commands
```
$ posixer list
+------------+----------------+---------------------------------------------------------------------------------+
| NAME | TYPE | DESCRIPTION |
+------------+----------------+---------------------------------------------------------------------------------+
| alias | shell built-in | define or display aliases |
| bg | shell built-in | run jobs in the background |
| cd | shell built-in | change the working directory |
| command | shell built-in | execute a simple command |
| echo | shell built-in | write arguments to standard output |
| false | shell built-in | return false value |
| fc | shell built-in | process the command history list |
| fg | shell built-in | run jobs in the foreground |
| getopts | shell built-in | parse utility options |
:
:
| unget | optional | undo a previous get of an SCCS file |
| unlink | optional | call the unlink function |
| uucp | optional | system-to-system copy |
| uustat | optional | uucp status enquiry and job control |
| uux | optional | remote command execution |
| val | optional | validate SCCS files |
| vi | optional | screen-oriented (visual) display editor |
| what | optional | identify SCCS files |
| yacc | optional | yet another compiler compiler |
| zcat | optional | expand and concatenate data |
+------------+----------------+---------------------------------------------------------------------------------+
```
# Contributing
First off, thanks for taking the time to contribute! ❤️
See [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
# Contact
If you would like to send comments such as "find a bug" or "request for additional features" to the developer, please use one of the following contacts.
- [GitHub Issue](https://github.com/nao1215/posixer/issues)
# LICENSE
The posixer project is licensed under the terms of [MIT LICENSE](./LICENSE).