Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aliscott/simplels

A simple implementation of the ls program created as a programming exercise
https://github.com/aliscott/simplels

Last synced: 21 days ago
JSON representation

A simple implementation of the ls program created as a programming exercise

Awesome Lists containing this project

README

        

A Makefile is provided to compile the program.

make ls compiles the ls program
make clean removes the compiled program

To run the program use: ./ls () ()

Supports the following flags:
-l produces a detailed listing of the files
-a includes files beginning with ‘.’ (hidden files)
-i prints the index number of the file
-F appends a symbol to the filename to represent the classification of the file:
- / directory
- @ symbolic link
- = socket
- - FIFO
- * executable
-S sorts files by file size
-t sorts files by time last modified
-X sorts files by file extension