Skip to content

guzlewski/ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.