Skip to content

📑 As simple as listing the files in a directory.

License

Notifications You must be signed in to change notification settings

42-Ikole-Systems/ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📑 ls

As simple as listing the files in a directory.

📥 Installation

# clone the project with
$ git clone https://github.com/42-Ikole-Systems/ls.git --recurse-submodules

# build the project
$ cd ls
$ make

# run the executable
$ ./ft_ls -la -G

🪧 Usage

./ft_ls [-alRrtufgdG] [file(s)]

⛳ Supported flags

  • [a] include hidden directories
  • [l] long format
  • [R] Recusively list subdirectories
  • [r] reverse lexicographical sort
  • [t] sort by time modified
  • [u] Use time of last access, instead of last modification of the file for sorting and in long format.
  • [f] Output is not sorted. This option turns on the -a option.
  • [g] display the group name in the long (-l) format output (the owner name is suppressed and long format is turned on).
  • [d] Directories are listed as plain files (not searched recursively).
  • [G] Gives the output ✨Beautiful colors✨ :D

About

📑 As simple as listing the files in a directory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published