Method And System for Command Line Completion Filtering by Program’s Name and Extension for Operating System Command Shells
Publication Date: 2011-Jul-08
The IP.com Prior Art Database
Disclosed is a system, method, and computer program for increasing usability of command line completion operation of operating system’s command shell programs for a user. The method comprises of filtering relevant files and directories to choose from all available files and directories during a command-line completion operation in an operating system command shell according to a program’s name and a file type (extension).
Page 01 of 2
Method And System for Command Line Completion Filtering by Program's Name and Extension for Operating System Command Shells
A system, method, and computer program for increasing usability of command line completion operation of operating system's command shell programs for a user is disclosed. A command-line completion of operating system's command shell program greatly simplifies command-line based interfaces to operating systems for the user. Most operating systems such as Unix* variants, Linux**, and even Windows*** based operating systems support the command line completion. The command-line completion operates by examining all files and directories of a given directory and then filters a list containing relevant files and directories based on a prefix that is currently being typed in a command interface by the user. However, in many cases, the program that is being called could further limit the choices of command line completion options. An example may be, if the command typed by the user is "
jar" then the available options
jar" files, similarly if the command is "gunzip", the command options
will only show .
will only show .zip files
The method of limiting the choices of files and documents comprises of monitoring the command line in a command line interface typed by the user and comparing the prefix with file type identifier programs such as, Multi-purpose Internet Mail Extensions (MIME). Once the typed name of the files and documents are ma...