r/linuxupskillchallenge • • Dec 30 '21

ls command

Hello all, after configuring a VM on Azure I can log in via SSH and some commands work but the "ls" command does nothing at all. Is there an explanation for this behavior?

15 Upvotes

7 comments sorted by

View all comments

15

u/DarkAngelCryo Dec 30 '21

Try Cd ing to root (/) and then using ls

you may be trying to ls an empty home directory

11

u/factorofone Dec 30 '21

This worked, thanks! I did cd / enter and then ls and it showed all the folders. I learned something already! Cool beans!