LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2002, 02:26 AM   #1
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Question autocomplete


How do I enable autocomplete in Linux?
I am running Red Hat 7.2, about the only thing I dont like is that the auto complete thing (hitting esc twice after typing a few letters and the word appears) is not working. It worked in version 7.1, don't know what happened here.
Any ideas?
 
Old 03-13-2002, 02:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmm, i never even knew two escapes did anything... any idea where that originates from?

just use the tab key instead.
 
Old 03-13-2002, 08:16 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Esc thing works in csh, tab is for bash.
 
Old 03-13-2002, 08:43 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The tab is used to autocomplete commands. But pressing esc two times is used for completing file names in the current directory. I use it both for ksh and bash so I don't think it's csh specific.
If I type ls ab<esc><esc> then it will complete the command to be ls abcd if there is a file called abcd in the current directory.
 
Old 03-13-2002, 09:00 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not in bash it doesn't, seems to have *exactly* the same functionality as tab
 
Old 03-13-2002, 10:13 AM   #6
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well that's what I was trying to say. Pressing the esc key twice is not the same as using the tab key.
I think the tab key is bash specific though because it doesn't work on ksh in linux or unix.
 
Old 03-13-2002, 04:19 PM   #7
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
hey tahnks everybody, the tab works. Hehe newbie mistake . its weird cause I used to use the esc key for this...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Autocomplete my username... fatrandy13 Linux - General 3 10-14-2005 04:02 PM
Mozilla Autocomplete pdohman Linux - Software 5 10-02-2003 08:51 PM
emacs-autocomplete skibud2 Programming 6 09-22-2003 08:27 AM
autocomplete marksstroud Linux - Newbie 1 11-11-2001 01:02 PM
Autocomplete in Redhat hazza96 Linux - General 9 06-24-2001 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration