https://github.com/dnmfarrell/ls
https://github.com/dnmfarrell/ls
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dnmfarrell/ls
- Owner: dnmfarrell
- License: other
- Created: 2014-09-10T03:31:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-12T03:06:01.000Z (almost 12 years ago)
- Last Synced: 2025-03-06T05:44:02.470Z (over 1 year ago)
- Language: C
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ls
==
An `ls` clone written in C that lists all files in a directory including their permissions, file size, owner group and last modified date.
Version
-------
Version 0.03
Synopsis
--------
$ ls
drwxrwxr-x 4 sillymoose sillymoose 1 Sep 9 23:41 .
drwxrwxr-x 4 sillymoose sillymoose 1 Sep 9 23:41 ..
drwxrwxr-x 7 sillymoose sillymoose 1 Sep 9 23:30 .git
-rw-rw-r-- 1 sillymoose sillymoose 1 Sep 9 23:30 LICENSE
-rwxrwxr-x 1 sillymoose sillymoose 1 Sep 9 23:41 ls
drwxrwxr-x 2 sillymoose sillymoose 1 Sep 9 23:42 src
$ ls LICENSE
-rw-rw-r-- 1 sillymoose sillymoose 1 Sep 9 23:30 LICENSE
$ ls src
drwxrwxr-x 2 sillymoose sillymoose 1 Sep 11 22:59 .
drwxrwxr-x 5 sillymoose sillymoose 1 Sep 11 22:59 ..
-rw-rw-r-- 1 sillymoose sillymoose 1 Sep 11 22:59 ls.c
To Do
-----
* Sort output alpabetically by filename
* Display filename only (not file path)
* Fix width of file size column