Results 1 to 9 of 9
On ms dos pressing the tab key will complete words based on contents in directory. Is there an equivalent button in ubuntu? I am using the gnome terminal 2.28.1....
- 03-12-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
gnome terminal automatic word completion
On ms dos pressing the tab key will complete words based on contents in directory. Is there an equivalent button in ubuntu? I am using the gnome terminal 2.28.1.
- 03-12-2010 #2
did you try pressing tab? it works for me
- 03-12-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
No I downloaded a new version of ubuntu today with wubi and tab doesn't automatically generate/cycle through a file or directory in the current directory. I have discovered though that pressing tab twice does display a list of the contents whilst useful one must still type out a choice.
- 03-12-2010 #4
- 03-12-2010 #5Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
Okay I am still new to the linux and ubuntu environment.
I assumed gnome terminal was the only default terminal/command-line in this particular ubuntu install environment similar to MS DOS command-line in say windows vista.
I am looking for a function in the command-line GNOME terminal not on an address field in the GUI/or another particular terminal. I am curious how you interpreted my question.
Nevertheless does GNOME have a similar keyboard shortcut?
- 03-13-2010 #6
you asked if gnome has tab complete, which it does, but in your second post you asked if it had tab rotate like msdos
I'm not sure if it can do what you are thinking of though
- 03-13-2010 #7
tab will just do the charm!!!
Dual Booting Ubuntu 10.04, Windows 7
Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card
You are registered Linux user number 490788
Happy Linuxing
- 03-13-2010 #8
Put this in ~/.bashrc
Code:bind 'set show-all-if-ambiguous On' bind 'TAB:menu-complete'
- 03-13-2010 #9
FYI, just to clear up some terminology. Gnome-terminal is one of a number of terminal emulators. But it is the shell that determines the behavior of things like tab completion. In the vast majority of distros, the default shell is bash.
Other shells include csh, ksh, or zsh. (The last being what I use.)
You can very easily have an advanced, awesomely useful z-shell by using the grml .zshrc available here:
grml.org - Zsh
Should you decide to experiment with different shells, you can change your user's default shell as so
Replacing /bin/zsh with the shell of your choice. (That you have installed of course.)Code:chsh -s /bin/zsh <username>


Reply With Quote
