Global Information Lookup Global Information

Command history information


Command history is a feature in many operating system shells, computer algebra programs, and other software that allows the user to recall, edit and rerun previous commands.

Command line history was added to Unix in Bill Joy's C shell of 1978; Joy took inspiration from an earlier implementation in Interlisp.[1] It quickly became popular because it made the C shell fast and easy to use. History has since become a standard feature in other shells, including ksh, Bash and Microsoft's cmd.exe. History addressed two important scenarios:

  1. Executing the same command or a short sequence of commands over and over. An example might be a developer frequently compiling and running a program.
  2. Correcting mistakes or rerunning a command with only a small modification.

In Joy's original C shell, the user could refer to a previous command by typing an exclamation, !, followed by additional characters to specify a particular command, only certain words, or to edit it in some way before pasting it back into the command line. For example:

!! meant the entire previous command.
!$ meant just the last word of the previous command.
!abc meant the command that started with abc.

The usual implementation today is to combine history with command-line editing. The cursor keys are used to navigate up and down through the history list and left or right to anyplace on the line, where the user can simply type a desired change. But some implementations are menu-based: The user presses a certain function key which displays a menu of recent commands, which the user can select one by typing a number.

Some implementation such as Bash support to record command history to a file (history command).[2][3]

  1. ^ An Introduction to the C shell Archived 2018-07-13 at the Wayback Machine by Bill Joy.
  2. ^ "Bash programming/Bash History - Wikiversity".
  3. ^ "Bash Reference Manual".

and 18 Related for: Command history information

Request time (Page generated in 0.9043 seconds.)

Command history

Last Update:

Command history is a feature in many operating system shells, computer algebra programs, and other software that allows the user to recall, edit and rerun...

Word Count : 319

Naval History and Heritage Command

Last Update:

The Naval History and Heritage Command, formerly the Naval Historical Center, is an Echelon II command responsible for the preservation, analysis, and...

Word Count : 2656

United Nations Command

Last Update:

and after the Korean War. It was the first international unified command in history, and the first attempt at collective security pursuant to the Charter...

Word Count : 3534

List of DOS commands

Last Update:

This article presents a list of commands used by MS-DOS compatible operating systems, especially as used on IBM PC compatibles. Many unrelated disk operating...

Word Count : 6080

United States Army Special Operations Command

Last Update:

Special Forces Command (Airborne) is a division-level special operation forces command within the US Army Special Operations Command. The command was established...

Word Count : 2836

United States Special Operations Command

Last Update:

Operations Command (USSOCOM or SOCOM) is the unified combatant command charged with overseeing the various special operations component commands of the Army...

Word Count : 11179

United States Northern Command

Last Update:

States Northern Command (USNORTHCOM) is one of eleven unified combatant commands of the United States Department of Defense. The command is tasked with...

Word Count : 1718

United States Southern Command

Last Update:

United States Southern Command (USSOUTHCOM), located in Doral in Greater Miami, Florida, is one of the eleven unified combatant commands in the United States...

Word Count : 3546

Comparison of command shells

Last Update:

previous command. Most modern shells support command history. Shells which support command history in general also support completion from history rather...

Word Count : 4511

Specialist Firearms Command

Last Update:

Specialist Firearms Command (MO19, previously SO19, CO19 and SCO19) is the firearms unit of the Metropolitan Police. The Command is responsible for providing...

Word Count : 3168

United States European Command

Last Update:

The United States European Command (EUCOM) is one of the eleven unified combatant commands of the United States military, headquartered in Stuttgart,...

Word Count : 3808

List of POSIX commands

Last Update:

System Interface) commands as specified by IEEE Std 1003.1-2008, which is part of the Single UNIX Specification (SUS). These commands can be found on Unix...

Word Count : 168

United States Army Special Forces

Last Update:

5 February 2022. "U.S. Army Special Forces Command (Airborne) History". U S ARMY SPECIAL OPERATIONS COMMAND. Archived from the original on 28 May 2013...

Word Count : 7743

Strategic Air Command

Last Update:

Command (SAC) was a United States Department of Defense Specified Command and a United States Air Force (USAF) Major Command responsible for command and...

Word Count : 13208

USS Carl Vinson

Last Update:

NavSource Naval History Unofficial Navy Forum for Carl Vinson Sailors USS Carl Vinson (CVN-70) command histories – Naval History & Heritage Command 1982 1983...

Word Count : 6761

Russian Aerospace Forces

Last Update:

to the High Command: Military Transport Aviation Command (Командование военно-транспортной авиации) (Moscow) Long-Range Aviation Command (Командование...

Word Count : 799

Special Operations Command Central

Last Update:

The Special Operations Command Central (SOCCENT) is a sub-unified command of the U.S. Central Command (CENTCOM). It is responsible for planning special...

Word Count : 856

National Military Command Center

Last Update:

The National Military Command Center (NMCC) is a Pentagon command and communications center for the National Command Authority (i.e., the President of...

Word Count : 3284

PDF Search Engine © AllGlobal.net