pre LS command
ls implementation