Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I would like to know how to Enable and Disable the TAB option in Shell......
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    32

    Lightbulb How to Enable and Disable TAB option in Shell?


    Hi,

    I would like to know how to Enable and Disable the TAB option in Shell...

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    there is a way to change variables for the readline library. i havent read into it in a long time, but i belive if you do this is should fix it.

    $ cat /etc/inputrc | egrep -vi disable-completion > ~/.inputrc
    $ echo "set disable-completion on" >> ~/.inputrc


    What it is doing is changing the variable "disable-completion" to on. you have to copy the /etc/inputrc to your home directory so that you will retain all other system values (that your probably used to)

    NOTE that this is the default for fedora, if you have a different distro (redhat enterprise should be the same) or changed the defaults, this wont work.

    for more information, see
    man bash
    man readline

    also note, that i dont have my linux system with me, so some of this may be a bit off, since i can't test it, and it's been a while since i've hacked around with the readline variables.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    32
    Thank you.... Let me check with your suggestion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •