rubanik00 / uls

My own implementation of the famous Unix command: ls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uls


⛏ My own implementation of the famous Unix command: ls

Got skills

Critical Thinking, Problem Solving, Analysis, Reasoning & Argumentation, Creativity, Agility & Adaptability, Responsibility, Self-Management, Communication, Teamwork, UNIX, Git, Procedural Programming, Algorithms, C


Building the program

  1. Download/Clone the source code
  2. cd into the root directory
  3. Run make

Running the program

It's pretty simple, instead of calling ls, call ./uls from the root directory of the source code after building it.

Supported flags

usage: uls [-ACGRSTcfglmortux1] [file ...]
  • Long listing display: -l
  • Display recursively: -R
  • Display all files: -a
  • Reverse sort: -r
  • Sort by modification date: -t
  • Display one entry per line: -1
  • Column display: -C
  • Display with a comma separated list of entries: -m
  • Sort by creation date: -u
  • Sort by last access date: -a
  • Sort by last status change date: -c
  • Show every entry except for current and previous directories: -A
  • Sort by file size: -S
  • Colorized output: -G

Author

  1. Oleh Rubanik

About

My own implementation of the famous Unix command: ls


Languages

Language:C 95.5%Language:Makefile 4.5%