![]() |
need some help any idears -- x terminal newbie
hi there
having a bit of trouble , i have a file i wish to access in my documents folder on the n900 mass memory iam root when trying to access it ive been trying the following commands to get into my documents cd MyDocs cd .documents i even tryed cd/MyDocs cd/.documents iam a bit of a newbie with x terminal and i just keep getting the mesasage ''cant cd to MyDocs'' iam trying to learn and have sat here for half an hour to an hour on google and the n900 and i just cant seem to cd anywhere am i missing something here sorry to bother you with something probably so simple but iam scratchinh my head a bit here thanks in advance peeps |
Re: need some help any idears -- x terminal newbie
cd /home/user/MyDocs
|
Re: need some help any idears -- x terminal newbie
From xterm the path to documents is /home/user/MyDocs/.documents/
|
Re: need some help any idears -- x terminal newbie
Quote:
is what comes up when i type that |
Re: need some help any idears -- x terminal newbie
Quote:
when i type whoami it says iam root so not sure what the problem is now any idears its all appreciated thankyou |
Re: need some help any idears -- x terminal newbie
Sorry you need to install rootsh from app manager its in system as far as I can remember, first thing I installed 2 weeks ago.
|
Re: need some help any idears -- x terminal newbie
yep ive got that fred same as you 1st thing i installed mate :-)
|
Re: need some help any idears -- x terminal newbie
right when i type sudo rootgain it asks me for a passowrd
ut oh lol not having alot of luck am i if i type root it lets me become root but its giving me the permisson denied so it must be giving me limited access with the root command but when i use the sudo rootgain it asks for a password ------------------EDIT---------------------- i have figured it out i closed xterm down when asked for password , next time i ran sudo gainroot it didn ask for a password and the sheel was enabled :-) this meant i could use the command cd MyDocs and i jumped to that foler :-) happy days :-) my problems stemmed from me not having full access , i used the command root , instead of sudo gainroot , this gives more privelages and lets me jump about etc thankyou for all your help pps just incase is there a default password for sudo |
Re: need some help any idears -- x terminal newbie
This is what I did...
Open X Terminal type in: sudo gainroot Then it should take you right to the /home/user directory. From there type: cd MyDocs/ Hopefully it'll work for you. |
Re: need some help any idears -- x terminal newbie
Not sure what to suggest now other than the inevitable reboot. I can cd into any folder without any problems.
I think I need to sleep now, hope you can find a solution. |
| All times are GMT. The time now is 17:03. |
vBulletin® Version 3.8.8