An efficient and correct implementation of coreutils, util-linux and other core Linux system utilities written in Rust.
- Memory Safe: Written in Rust
- Compact: Optimized for minimal binary size and memory footprint
- Fast: Efficient implementations that outperform traditional utilities
git clone https://github.com/puppyutils/puppyutils
cd puppyutils
./build-release.sh
The project uses a pinned nightly toolchain specified in rust-toolchain.toml
-
rustup will automatically install the correct version and components.
true
- Exit with success statusfalse
- Exit with failure statusuname
- Display system informationwhoami
- Display current usernameyes
- Output strings repeatedlypwd
- Print current working directorytty
- Print terminal namewc
- Count lines, words, characters, and bytes in files
touch
- Update file timestamps and create files (supports -a, -m, -c flags)cat
- Concatenate and display files (basic functionality implemented)mkdir
- Create directories (basic functionality, missing -p, -m, -v options)ls
- List directory contents (framework implemented but currently non-functional)
The project is in active development with a focus on correctness, performance, and minimal binary size. Current priorities include completing core file system utilities and implementing comprehensive option support for partially completed commands.
All utilities support standard --help
and --version
flags. Options after
--
will be ignored and passed as values.
We welcome contributions! Please see CONTRIBUTING.md for guidelines on contributing to the project.
This project is licensed under the EUPL. For more information, please see the LICENSE file.