> EDIT: It seems that the contents of the home directory can also be accessed in /userdata/user-data/phablet/ and there I can run the testscript I created using "./testscript". I now aliased "cdh" with "cd /userdata/user-data/phablet" and added it to my .bashrc file. When I want to execute a shell script in my home directory I now only have to enter "cdh" and then I can execute shell scripts as expected.
Great! Actually, you can just put the following at the end of your .bashrc file:
PATH=/userdata/user-data/phablet/bin:$PATH
This just puts bin from under that userdata directory into your PATH, so you can call yours scripts without needind to cd back and forth
> EDIT: It seems that the contents of the home directory can also be accessed in /userdata/ user-data/ phablet/ and there I can run the testscript I created using "./testscript". I now aliased "cdh" with "cd /userdata/ user-data/ phablet" and added it to my .bashrc file. When I want to execute a shell script in my home directory I now only have to enter "cdh" and then I can execute shell scripts as expected.
Great! Actually, you can just put the following at the end of your .bashrc file: user-data/ phablet/ bin:$PATH
PATH=/userdata/
This just puts bin from under that userdata directory into your PATH, so you can call yours scripts without needind to cd back and forth