Reply
Thread Tools
Posts: 94 | Thanked: 17 times | Joined on Jan 2010
#1
hay guys, sorry to have to ask such a daft question, iv been playing about with my n900 for a few days, done the odd thing like put the matrix theme on, and added the reboot button to the power menu, however, iv been trying to go in to my docs via the xterminal,

iv tried

sudo gainroot

cd /MyDocs/

and

cd /home/user/MyDocs/

but it keeps saying cant cd to mydocs

cheers,

snake

Last edited by thesnake505; 2010-01-20 at 09:09.
 
Posts: 74 | Thanked: 16 times | Joined on Jan 2010 @ Ireland
#2
it workes for me...
Maybe use TAB to avoid fat fingers
 
bockersjv's Avatar
Posts: 857 | Thanked: 1,206 times | Joined on Dec 2009 @ Chertsey in the Thames, United Kingdom
#3
And I know you are a noob, but it would be a great help if you title of the post made reference to your problem. You will also get a quicker better response

I am no longer a noob but still not messed much with x terminal
 

The Following User Says Thank You to bockersjv For This Useful Post:
Posts: 43 | Thanked: 5 times | Joined on Jan 2010 @ United States
#4
Hey.

Try cd MyDocs without "/" forward slash. Oddly this works in my case...the rest tree access has to be done using "/" but not the first line entering MyDocs....Maintain uppercase and lowercase as well
 

The Following User Says Thank You to LuckTR For This Useful Post:
Posts: 94 | Thanked: 17 times | Joined on Jan 2010
#5
Originally Posted by bockersjv View Post
And I know you are a noob, but it would be a great help if you title of the post made reference to your problem. You will also get a quicker better response

I am no longer a noob but still not messed much with x terminal
sorry dude, wasnt sure what to put my bad
 
Posts: 94 | Thanked: 17 times | Joined on Jan 2010
#6
Originally Posted by LuckTR View Post
Hey.

Try cd MyDocs without "/" forward slash. Oddly this works in my case...the rest tree access has to be done using "/" but not the first line entering MyDocs....Maintain uppercase and lowercase as well
has done the trick cheers,

u say changine to any other folder to use "/" thou??

snake
 
Posts: 43 | Thanked: 5 times | Joined on Jan 2010 @ United States
#7
Yeah, let`s say that you want to ls (dir) your music files in music folder. In order to get there you have to do whether cd MyDocs/music or if already in MyDocs than just cd /music etc... not really very skilled in Xterm but had to learn in order to be able to create my own playlists. Glad it helped.
 
Posts: 43 | Thanked: 5 times | Joined on Jan 2010 @ United States
#8
Click HERE, and check out the section MS DOS vs Linux UNIX if you have some experience with MS DOS. Click HERE for excellent Linux only frequent commands (XTerm related overview. Hope this makes life easier. LtR.
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#9
Originally Posted by LuckTR View Post
Yeah, let`s say that you want to ls (dir) your music files in music folder. In order to get there you have to do whether cd MyDocs/music or if already in MyDocs than just cd /music
that would return error: no folder /music

are you referring to
cd ./music?
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search

Last edited by ossipena; 2010-01-20 at 09:53. Reason: missing d
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#10
Also, if you become root by typiing "root" it starts you in /root (understandably) so MyDocs would be at /home/user/MyDocs rather than just ./MyDocs. Sudo gainroot leaves you in your current pwd.

cd .. goes down one dir, . is present dir, / goes to root of filesystem, so to go from your user dir (/home/user) to opt you would cd /opt but to go to MyDocs, which is in the current directory, you would cd ./MyDocs or just cd MyDocs.

Note that the built-in folders in MyDocs are preceded with the dot to make them hidden: .images, .sounds, etc. That is also true of the user config files in your home dir. To see them, you pass the "all" flag to list:
ls -a

Edit: but what i was going to say is that you don't need to (and in fact probably shouldn't) be root to muck about in you user directory. You should already own all the files there. Only become root when you have to do something that affects the system, like installing an app from the command line.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2010-01-20 at 11:03.
 

The Following User Says Thank You to Flandry For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:40.