3
1
I tried CHMOD along with the file directory but it just can't seem to find it for some reason.
I've tried the following:
-bash: homeec2-user: command not found
[ec2-user@_________ ~]$ chmod u+x ./home/ec2-user/presto.jar
chmod: cannot access ‘./home/ec2-user/presto.jar’: No such file or directory
[ec2-user@_________ ~]$ chmod u+x ./home/ec2-user/presto
chmod: cannot access ‘./home/ec2-user/presto’: No such file or directory
[ec2-user@_________ ~]$ chmod u+x ./home/ec2-user/
chmod: cannot access ‘./home/ec2-user/’: No such file or directory
[ec2-user@_________ ~]$ chmod u+x ~/home/ec2-user/
chmod: cannot access ‘/home/ec2-user/home/ec2-user/’: No such file or directory
[ec2-user@_________ ~]$ chmod u+x ~./home/ec2-user/
chmod: cannot access ‘~./home/ec2-user/’: No such file or directory
[ec2-user@_________ ~]$ ./presto --server localhost:8080 --catalog hive --schema default#
-bash: ./presto: No such file or directory
[ec2-user@_________ ~]$ home/
-bash: home/: No such file or directory
This is the correct directory I'm trying to link to as well. Am I doing something wrong?
For reference, I'm on this point in a tutorial (so you know what I'm trying to do)
https://prestodb.io/docs/current/installation/cli.html
What's in your
.bashrc
and.bash_profile
files? That first line looks worrying. – shearn89 – 2015-02-04T16:46:08.023