Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aliscott/simplels
- Owner: aliscott
- License: other
- Created: 2010-05-01T18:49:14.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-05-01T18:57:48.000Z (over 14 years ago)
- Last Synced: 2024-10-12T21:27:22.775Z (about 1 month ago)
- Language: C
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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 programTo 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