Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 658 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 658 Bytes

ls

This is my version of ls with implemented flags: -l, -R, -t, -h, --version, --help. The program is fully working and tested on several different linux distros.

Compilation

git clone https://github.com/guzlewski/ls
cd ls
make

Usage

./ls.out [OPTIONS] [PATH]
Available options:
        -l - display long format
        -R - list subdirectories recursively
        -t - sort files by last modified date, newest first
        -h - print file size in human-readable format (K, M, G, T, P)
        --version - print information about version and author
        --help - print available commands
Lists current directory by default.