Browse Prior Art Database

Method and system for command line reliability improvements Disclosure Number: IPCOM000239546D
Publication Date: 2014-Nov-14
Document File: 3 page(s) / 24K

Publishing Venue

The Prior Art Database


Method and System for command line reliability improvements

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 01 of 3

Method and system for command line reliability improvements

    A command-line interface (CLI) is a means of interaction with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). Command-line interfaces are still often preferred by more advanced computer users, as they often provide a more concise and powerful means to control a program or operating system. Programs with command-line interfaces are often much easier to automate via scripting.

    If on the one hand the command line is very powerful some may present a computational complexity which requires specific skills to the operating system or software product used. Sometimes large deployments are based on agents having to execute command line scripts, and if the script contains a typo the recovery action is often resource and time consuming. In addition, it may be appropriate in particular contexts to have the opportunity to share the correct typing of the syntax of a complex command line of a new software, besides the usual command help, as it may happen to a new member in a development or support team that does not know the software and then he would be naturally prone to CLI errors.

    In order to address this type of problem, and then have to use the command line without increasing the complexity due to the syntax, here is proposed a mechanism to evaluate in real time the command line typos and provide appropriate suggestions or actions to overcome the issue. This mechanism is able to manage properly (via an access control list) the correct command line behaviour through a collaborative approach and the sharing of individual users typos, merged together across different categories to provide the most effective, meaningful and optimized set of corrective actions. In this way, if a typo is erroneously deployed to a large number of agents, once the typo gets fixed on a machine, even outside of the agent scope, and even on a machine where no agent is installed, the problem is automatically solved for every agent in the deployment.

    The use of this mechanism improves the command line reliability (making it less error prone) and makes available in an easy way the correct syntax. A central server handles authentication mechanism and implements a system to collect and make available information about the command lines typed by a specific user. When a user login to the server, after the authentication phase, all the information regarding this user are downloaded and are available in local for the user. This information is relevant to all the command line that the specific user has typed by the shell over time, and therefore contains commands with wrong syntax and


Page 02 of 3

commands with correct syntax. After the user logins successfully the register...