/coreutils

Minimal Core Utils

Primary LanguageCMIT LicenseMIT

CoreUtils

This repository contains basic utility programs implemented in C, inspired by GNU coreutils.

Repository Overview

src: Contains the source code files for utility programs.

compile: Compilation script.

Usage

Clone the Repository:

git clone https://github.com/x3ric/coreutils

Compile the Utilities: Use the provided compile script to compile the utilities.

./compile

Run the Utilities:

After compilation, execute the desired utility in the created folder ./bin/.

cat
tac
head
tail
cd
echo
touch
false
pwd
sleep
true
nproc
time
wc
yes

Compile and Run Shortcut:

Execute the following command in the root of the repository to compile and run a utility.

./compile <utility>

Arch Linux