Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LS command not listing files in Amazon EC2

I'm using an Amazon ec2 instance and am SSHed into it. For some reason when I use the ls command, it doesn't list the files in the current directory. Is this command disabled by default? if so, is there a way to enable it?

like image 803
Matt Sich Avatar asked Dec 01 '25 03:12

Matt Sich


1 Answers

The issue was that I was in the ~ folder. Once I cd into the html folder, i was able to list the files. Could also be a permissions thing because i have permissions in the html folder

like image 63
Matt Sich Avatar answered Dec 03 '25 17:12

Matt Sich