Modern ls

Share on:

List directory Unix utility written in pure Go. Has some extra options: Humanized relative timestamps, path mode and cross platform.

"I have it in my PATH!"


  • Same as GNU ls
  • -R has changed, meaning recursively lists all files with relative path names as one group. This means sort options such as by time (-t) can show most recent file modified under a path. (Useful for example to see latest logs in /var/log)
  • -O only list entries starting with .
  • Color output
  • Works on Linux/Windows/OSX

Screenshot showing -R option in effect:

Humanized timestamps: