This project is a C++ implementation of classic UNIX utilities, designed to adhere strictly to the POSIX standard. Each utility aims to behave as closely as possible to its traditional counterpart, ensuring compatibility, predictability, and portability across UNIX-like systems.
Note
The full list of POSIX utilities can be found here
-
Implementations of core utilities such as cat, cp, mv, rm, ls, and more.
-
Strict adherence to POSIX return codes and error handling practices.
-
Minimal external dependencies: only the C++ standard library & POSIX standard library.
-
Easy to build and extend.
Important
Requirements: CMake 3.10+, a C++20-compliant compiler (e.g., GCC 10+, Clang 9+).
git clone https://github.com/Netris89/core-utils --recurse-submodules
cd core-utils
mkdir build
cd build
cmake ..
cmake --build .Tip
All executables will be generated inside build/bin/. For example, you can run ./build/bin/echo to use the echo utility.