-2

How can I display the complete file directory of my EC2 server in AWS using BASH?

I've tried searching through with $tree, but I think I've got my wires crossed.

juju
  • 131
  • 4
  • `ls -aR`? It would be useful to rephrase that question. – mschuett Sep 23 '15 at 13:15
  • I've now edited it, I'm trying to display the entire file directory, but ls -aR gives me; .: . .. .bash_logout .bash_profile .bashrc .ssh ./.ssh: . .. authorized_keys And I have Java8, tomcat installed. – juju Sep 23 '15 at 13:24
  • 2
    This has nothing to do with AWS. It's just a Linux VM. – ceejayoz Sep 23 '15 at 13:25
  • The server is indeed a VM - Amazon Linux AMI 2015.09 (HVM), but I was under the impression some commands were different depending.... – juju Sep 23 '15 at 13:29
  • considering the answer, shouldn't you guys redact the -1? – juju Sep 23 '15 at 13:48

1 Answers1

0

You don't have root on an AWS server, so sudo

$ sudo ls -aR /
Patrick
  • 481
  • 5
  • 7