View Single Post
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#11
Originally Posted by nielsvg View Post
i made it with the program notepad++ and i transfer it to my phone in documents and then i type in terminal after rootacces: chmod +x move-opt-sh and then it says there is no such file with this name???

can anyone help?
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....