I just don't know if it's possible and how to
cd for example in a dir that is not named with latin characters.
$ cd άλφα or
$ cd альфа
Update: In a terminal it is ok, but in a CLI environment not.
Yes, of course it's possible as long as directories with these names exists.
The simple way:
How I made:
If you can't use the mouse, see this quick tutorial.
The right way:
For tty1 (where you can go with Ctrl+Alt+F1) - and not only - I found another trick:
~ $ ls bin Desktop file.gif nohup.out Sent to Ubuntu One ttyrecord άλφα Descărcări Documente Muzică Poze tmp.txt Video ~ $ ls > tmp.txt # redirect the output of 'ls' command to 'tmp.txt' file ~ $ cat tmp.txt bin Descărcări Desktop Documente file.gif Muzică nohup.out Poze Sent to Ubuntu One tmp.txt ttyrecord Video άλφα ~ $ # our directory is on line 13 (in my case); we will use this number in next command ~ $ cat tmp.txt | sed -n 13p άλφα ~ $ cd $(cat tmp.txt | sed -n 13p) ~/άλφα $ # voila ~/άλφα > rm -v ../tmp.txt removed ‘../tmp.txt’ ~/άλφα $
|show 2 more comments|
A possibility to avoid having to do that at all:
This adds an "Open in Terminal" item to the File menu and the right-click context menu (when no file is selected) in Nautilus. i.e.: Navigate to the offending folder in Nautilus and then File,Open in Terminal.
You could use zsh as your default terminal (if you do, I'd suggest getting oh-my-zsh as well for extra goodies). zsh tab-complete allows you 'scroll' through the contents of a directory by pressing tab. You can see a what I'm talking about at 0:53 in this video: http://www.youtube.com/watch?v=fE3tYK_wUj8