common: Implement the "ls" shell command.