A program that represents a Linux shell command that lists directory contents of files and directories.
Developed as study assignment in the Ucode school.
The program copies behavior of the ls utility which is a part of the GNU core
utilities package installed on all Linux distributions.
It is used to list information about files and directories within the file system.
1. git clone https://github.com/i-minakov/uls.git
2. make
3. ./uls
Flag | Description |
---|---|
C | Force multi-column output |
R | Recursively list subdirectories encountered |
S | Sort files by size |
1 | Force output to be one entry per line |
a | Include directory entries whose names begin with a . |
e | Used with -l to display the Access Control List (ACL) associated with the file |
l | List in long format |
t | Sort by time parameter |
i | Print the file's file serial number |
r | Reverse the order of the sort |
s | Display the number of file system blocks actually used by each file |
u | Use time of last access |
у | Display the number of file system blocks actually used by each file |
@ | Display extended attribute keys and sizes |