Skip to content

schak04/s-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s-ls

yet another reimplementation project cuz why not

This project is a simple reimplementation of the Unix/Linux ls command, that I'm writing in C. The goal is to gain hands-on experience with low-level systems programming in C and have fun doing it because I love low-level stuff and want to get good at it.


Commands I plan to implement for now

  • ls (for listing directory contents)
  • ls -a (for including dotfiles too)

I want to implement more eventually.


References

  • man pages: (all from section 3)
    • ls
    • opendir
    • readdir
    • closedir
    • dirent.h
    • fprintf
    • perror
    • strcmp
    • strcat
    • strcpy
  • strace: ls

Author

Saptaparno Chakraborty


About

A reimplementation of the ls command in C. Default (ls without flags) command implemented with lexicographic sorting.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors