Skip to content

A collection of POSIX UNIX utilities written in C++.

License

Notifications You must be signed in to change notification settings

Netris89/core-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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.

C++CMakePOSIXLicenseVersion

Note

The full list of POSIX utilities can be found here

Features

  • 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.

Build Instructions

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.

About

A collection of POSIX UNIX utilities written in C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published