Skip to content
/ ls Public

"ls" is a command to list computer files and directories in Unix and Unix-like operating systems.

License

Notifications You must be signed in to change notification settings

kllaster/ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ls

ALT TEXT

Description

In Linux, the command "ls" is one of the most commonly used. It's used to display a list of files and sub-directories. And this project is my implementation of this command.

The ability to view what files are in a directory is what makes ls so important. It will be used frequently to display directory contents. Although it is not a complicated command, it does come with a number of options for listing files with additional information. Even while ls is always enough to list contents, you're likely to find a few of these options highly handy.

See original "ls" - man.

Features

Flags:

  • -a Do not ignore entries starting with .
  • -R List subdirectories recursively
  • -l Use a long listing format
  • -t Sort by time, newest first
  • -r Reverse order while sorting

Usage

Installation Instructions

  1. Cloning this repository

    git clone https://github.com/Kllaster/ls.git
    
  2. cd into the root directory

    cd ls
    
  3. Creating a program from source code

    make
    

Execute command

./bin/ls [option]... [file]...

About

"ls" is a command to list computer files and directories in Unix and Unix-like operating systems.

Topics

Resources

License

Stars

Watchers

Forks