Through Terminal cant change directories

Filipe Bonjour fbonjour at urbanet.ch
Sun Jan 22 22:08:20 UTC 2006


Hi,

Assuming you didn't just make a typo (Video instead of video for 
instance, always possible with unaware Windows users) and that "Video" 
is a directory (not just a file), there are still several explanations:

1. There's a hidden character in the name. Try listing with "ls -b" to 
see hidden characters. Also try using the TAB key to auto-complete. This 
may complete names with hidden characters in it (not sure) if you want 
to rename the directory.

2. Similarly (kind of), there may be a space in the directory name. In 
some occasions, (e.g., if you're using a bash script with "for file in 
`ls`" and one of the files has a space) that will fail because the loop 
will pick each word of the file name separately.

3. I have seen some files show up in "ls" but not in "ls -l" listings. 
Check with ls -l, not just ls. I can't remember when that happens, though...

Other than these ideas, we need more information.

Filipe

-- 
Filipe Bonjour

      In theory there is no difference between theory and practice.
      In practice there is. -- Yogi Berra





More information about the ubuntu-users mailing list