View Single Post
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#12
Originally Posted by b666m View Post
you have to "cd" into the directory where you stored the file first or write the full path in the command.

three examples when you copied the file in the documents directory via usb:

relative:
(when you open up xterm you're in /home/user/)
Code:
chmod +x MyDocs/.documents/move-opt.sh
absolute:
Code:
chmod +x /home/user/MyDocs/.documents/move-opt.sh
or first cd into the right directory:
Code:
cd MyDocs/.documents
chmod +x move-opt.sh
maybe you should learn how to get along with the terminal first before you do something big like moving system files around and symlinking them automatically....
i saved the file on my phone in the file manager underr N900 and then documents

so when i put in the code in x-terminal: cd MyDocs or cd MyDocs/documents it stil keep saying cant cd to mydocs? and i'm in root access?