CODE:
root@crane-linux:/home/crane/Downloads# sudo chmod 400 ~/home/crane/Downloads/mykey.pem
chmod: cannot access '/root/home/crane/Downloads/mykey.pem': No such file or directory
root@crane-linux:/home/crane/Downloads# ls
discord-0.0.1.deb mykey.pem torguard-latest-amd64.deb
root@crane-linux:/home/crane/Downloads#
Someone please help. I am having trouble with chmod not recognizing my file. I am using the provided tutorial to launch an instance through aws, but I keep getting a "No such file or directory" error, but as you can see when I did ls, the file does exist. Am I missing something here? Ive tried googling for the answer and tried entering the command in a bunch of different formats, but I keep getting the same problem.
No one said this would be easy....
P.S. I dont know how to make the quote box show up without the word "quote" like I see people do when they share something from the console. Its probably something simple IM just looking over but....
~
expands to is different from the one you list?