Browse Prior Art Database

Graphical Tool for Scripting Using Shell History Disclosure Number: IPCOM000124729D
Original Publication Date: 2005-May-04
Included in the Prior Art Database: 2005-May-04
Document File: 3 page(s) / 95K

Publishing Venue



A test tool to allow users to quickly create scripts from previously issued commands (history) on a UNIX host.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 3

Graphical Tool for Scripting Using Shell History

Disclosed is a method and tool for using UNIX host command history output to create a shell-ready scripted output file. The tool reads and parses information from a history file and then places each line of the history file in a graphical user interface (GUI) to allow the user to select edit comment, and gather edited lines in a script formatted for a selected UNIX shell.

Commonly, systems administrators ,developers, and testers refer to UNIX shell history files or output to create scripts. Common in a test environment is the frequent repetition of test procedures run on the command line of a UNIX shell. Many times, these repeated steps may be easily turned into scripts by copying the history output and making minor changes to the text. This process may be easily streamlined by automating the edit process of these files. This invention describes a testing/scripting tool that takes output files from a UNIX history command and allows the user to select which lines from history to include in a shell-ready scripted output file.

The advantage of the proposed solution for the user is the ability to quickly select previously executed commands from a history file, make minor or major changes to the commands and produce a script to automate a process. A significant time savings may be experienced since the user can capture a process the first time it is executed on the command line and quickly turn that process into a script without: