![]() |
cd command doesn't work
first of all, i'm new here, so " HI ALL.... :) " and sorry if my post is on the wrong group-place....
so, my n900 got crazy...a week ago, the cd command stopped working..i have the Rootsh installed, i'm in the "sudo gainroot" enviroment and i can't cd...for example, i want to cd /MyDocs/....i get the anoying error message /bin/sh: cd can't cd to /MyDocs/ ...everytime i put a diferent directory name, is says /bin/sh: cd can't cd to (direcrotyname) .... the only cd that works is cd /home/user/ |
Re: cd command doesn't work
Welcome to the Maemo Community.
Are you sure you're not intending to do Code:
cd /home/user/MyDocs |
Re: cd command doesn't work
even at the /home/user promt you still need to use the complete path eg /home/user/MyDocs
|
Re: cd command doesn't work
Quote:
Code:
cd MyDocs @BlackMask - have a google for a quick intro to the Linux command line - there's gazillions of them out there :) |
Re: cd command doesn't work
thnx a lot for your replies....the thing is the command was working the whole time....whenever i pressed cd /MyDocs/ it went to MyDocs...the problem started a week ago, when i couldn't cd...anyway i will try to unistall my programms, in case some installations corrupted x-terminal...(if i press cd MyDocs, nothing will happen..i must include the "/" in the command)
|
Re: cd command doesn't work
Quote:
what do you expect to "happen"? if nothing happens (=no error message), chances are that you did change your working directory. how did you verify you didn't? do you rely on the directory name being part of the command prompt? or did you check using 'pwd' or at least 'ls'? |
Re: cd command doesn't work
Quote:
Are you absolutely sure that it wasn't one of the following?: Code:
cd MyDocs/ |
last night i unistall the uTorrent on my n900, and somehow the command was working again...it appears that when you install the uTorrent watcher on the n900, the programm automatically tries to establish remote connection with the original uTorrent (wich is my PC), taking all the root access of my phone for it... :SSS....anyway it's working now, although i had to write the full path, cd /home/user/MyDocs/...doesn't matter :))
thank you all for your replies!!!!! |
Re: cd command doesn't work
Small point but easy mistake to make, is to omit the space between 'cd' and the desired directory.
|
Re: cd command doesn't work
hi!
i can't cd to mydocs using xterminal but when i use ls i see mydocs are there? I am trying to install nitdroid now im stuck at xterminal when going to the mydocs folder.. please help :confused: |
Re: cd command doesn't work
1 Attachment(s)
screenshot
Thanks in advance :D |
Re: cd command doesn't work
@deiviboy,
It is MyDocs, not mydocs. The linux command line is case sensitive. |
Re: cd command doesn't work
sorry for my noobiness lol thanks!
i feel so stupid :eek: |
Re: cd command doesn't work
It's allways best to use the tab button for autocompleting the filenames.
So when in /home/user type cd M (then press tab on the screen) and enter. home/user/MyDocs |
Re: cd command doesn't work
Quote:
But in his case it wouldn't have helped him either: cd m push the tab button, push the tab button, push the tab button, push the tab button, push the tab button, push the tab button, push the tab button, push the tab button, push the tab button, , ... Hint: instead of pushing tab button on display, you may more easily just press CTRL-i on HW keyboard during typing. |
Re: cd command doesn't work
guys im having problem with flashing my unit i can't make it go to update/flashing mode.. when i plug it in my computer while pressing "u"
there was alwasy problem installing driver i have already installed the flasher and i noticed it has already the drivers but still it wont go to flashing mode im using windows xp pro |
All times are GMT. The time now is 20:12. |
vBulletin® Version 3.8.8