Finish long directory name with tab problem
Posted
by
user1880405
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user1880405
Published on 2014-06-09T15:23:18Z
Indexed on
2014/06/09
15:41 UTC
Read the original article
Hit count: 233
directory
I have simple problem that I have to long directories which I want to cd into, but I would like to know easy way.
mosquito@mosquito-K56CB:~/Downloads$ ls | grep Guns
Guns n' Roses - Appetite for Destruction (Japanese Edition) 1987
Guns n' Roses - Use Your Illusion I 1991
Of course I can just copy the name and put it like this: cd "Guns n' Roses - Appetite for Destruction (Japanese Edition) 1987"
But why when I write cd Guns
then tab, it finishes line into: cd Guns\ n\'\ Roses\ -\
then by my understanding I should just start writing App.. with tab and it should finish whole name, but it does not. And hitting tab twice does not show me anything either. What I am missing here?
© Ask Ubuntu or respective owner