Ksh File Completion using TAB instead of ESC \

Posted on 2004-10-27
Last Modified: 2008-01-09
I would like to change the default ESC \ for file file completion to be TAB instead.  How would I do that?
Question by:lcor
    LVL 38

    Accepted Solution

    ksh does NOT have such feature!

    ksh can complete pathnames with a little bit more complicated sequence.

    set -o vi        # set ksh input editor = vi
    you can put this statement in your .profile file to get it automatically executed

    type a partial pathname
    press <esc> to go in command mode
    press =   to get a list of pathnames that complete your partial pathname OR
    press *    to expand your partial pathname to the complete list of completing pathnames

    and you can do "vi" style commandline search for command history.

    IF you want TAB completion, use tcsh shell.


    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    Suggested Solutions

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now