Through Terminal cant change directories

Toby Kelsey toby_kelsey at ntlworld.com
Sun Jan 22 18:51:37 UTC 2006


J.Markoll wrote:
> Sasha Tsykin a écrit :
> 
>> Wade Smart wrote:
>>
>>> 01192006 1840 GMT-6
>>> Im trying to get into a directory but for some reason I get
>>>    bash: cd: Video: No such file or directory
>>> But when I use the ls command I can see the directory but I still
>>> cant access it. The permissions are the same as all the other
>>> directories.
>>
>> data corruption maybe.
> 
> Sometimes a mistake such as 'cd /Video' can produce this kind of result.
> J.M.

The name may contain non-printing characters or trailing spaces.
What is the output of the following command?

  /bin/ls -1 | egrep '^V' | od -c

and this one?

  file V*

If it is the only thing in the parent directory starting with V, try

  cd V*

and if that works, rename it:

  cd ..; mv V* Video

Toby




More information about the ubuntu-users mailing list