Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brd6/my_ls
This project consists of replicating the ls function of Unix system.
https://github.com/brd6/my_ls
c epitech ls unix
Last synced: 28 days ago
JSON representation
This project consists of replicating the ls function of Unix system.
- Host: GitHub
- URL: https://github.com/brd6/my_ls
- Owner: brd6
- Created: 2016-02-06T18:24:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-21T23:10:46.000Z (over 8 years ago)
- Last Synced: 2024-11-15T08:46:34.403Z (3 months ago)
- Topics: c, epitech, ls, unix
- Language: C
- Homepage:
- Size: 957 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project consists of replicating the ls function of Unix system.
### Usage :
```
./my_ls [-lRdrtuFgf] [FILE]
```### Examples :
```
$ ./my_ls -l -t
total 148
-rw-r--r-- 1 bongol_b bongol_b 173 may. 22 00:53 README.md
-rwxrwxr-x 1 bongol_b bongol_b 79480 may. 22 00:44 my_ls
-rw------- 1 bongol_b bongol_b 788 may. 22 00:44 Makefile
drwx------ 2 bongol_b bongol_b 4096 may. 22 00:41 include
drwx------ 2 bongol_b bongol_b 4096 may. 22 00:31 lib
...
``````
$ ./my_ls -lRt
.:
total 152
-rw-r--r-- 1 bongol_b bongol_b 173 may. 22 00:53 README.md
-rwxrwxr-x 1 bongol_b bongol_b 79480 may. 22 00:44 my_ls
-rw------- 1 bongol_b bongol_b 788 may. 22 00:44 Makefile
..../include:
total 12
-rw------- 1 bongol_b bongol_b 2331 may. 22 00:41 my_ls.h
..../lib:
total 3672
-rw-rw-r-- 1 bongol_b bongol_b 76792 may. 22 00:36 libmyprintf.a
...
``````
$ ls -lt -R -r
...
```
man ls for more detail.