![]() |
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: |
All times are GMT. The time now is 00:23. |
vBulletin® Version 3.8.8