mirror of
https://github.com/vibedOS/vibe-coreutils.git
synced 2026-09-21 12:04:23 -04:00
No description
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cargo | ||
| .github/workflows | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
vibe-coreutils
vibe-coreutils provides the small Unix command set used by vibeOS. It is a
statically linked, libc-free Rust multicall binary: the selected command comes
from either the executable name or the first argument.
Commands
| Command | Accepted form |
|---|---|
echo |
echo [TEXT...] |
true |
true |
false |
false |
uname |
uname [-a] |
whoami |
whoami |
vibefetch |
vibefetch |
pwd |
pwd |
cat |
cat [FILE...]; - reads standard input |
ls |
ls [DIRECTORY] |
mkdir |
mkdir PATH... |
rm |
rm PATH... |
rm removes files only and is non-recursive. The utilities currently expose
only the forms above; GNU-style option sets are outside the current scope.
Build and run
Rust 1.94.0 is selected by rust-toolchain.toml.
cargo build --release
target/x86_64-unknown-linux-gnu/release/vibe-coreutils echo hello
target/x86_64-unknown-linux-gnu/release/vibe-coreutils uname -a
target/x86_64-unknown-linux-gnu/release/vibe-coreutils vibefetch
vibeOS installs the binary as /bin/vibe-coreutils and creates command-name
symlinks beside it. The release binary is static and does not use libc.
License
MIT