ls command line implementation