Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 476 Bytes

File metadata and controls

15 lines (9 loc) · 476 Bytes

Implement ls

You should already be familiar with the ls command line tool.

Your task is to implement your own version of ls.

It must act the same as ls would, if run from the directory containing this README.md file, for the following command lines:

  • ls -1
  • ls -1 sample-files
  • ls -1 -a sample-files

Matching any additional behaviours or flags are optional stretch goals.

We recommend you start off supporting just -1, then adding support for -a.