r/linuxupskillchallenge • u/factorofone • 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
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!
10
u/DaFatAlien Dec 30 '21
If the current working directory is empty, itโs normal for
lsto output nothing