Implement ls command.