Skip to content

elehtoranta/ft_ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reimplementation of UNIX list directory (ls)

Description

ls implements limited functionality of UNIX command ls. For full documentation of ls, see man ls on an UNIX machine, or an online manual.

Prerequisites

gcc and make on a supporting system.

Usage

Clone and run make in the cloned directory. Other commands (or rules) for make can be found in the Makefile. For explanation of make concepts, make documentation is available here (one page HTML).

Invocation: ./ft_ls [OPTION]... [FILE]...

ft_ls accepts only short style options, i.e. single character options. Allowed options are:

  • -l - long listing format
  • -R - recursive listing
  • -a - include files starting with . ("hidden" files)
  • -r - reverse order while sorting
  • -t - sort by time, newest first

These options correspond directly with the UNIX ls version.

Notes

This is a learning project and not intended for use.

About

Hive Helsinki 42 Curriculum ft_ls program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published