≡ Menu

command history

Bash: Reissue And Repeat A Long Command Without Retyping It on a Linux, OS X & Unix

I'm a new Ubuntu Linux user. In Linux, Apple OS X or Unix-like systems, how do I reissue or repeat a long command without retying it?
[click to continue…]

UNIX: Set Environment Variable

How do I set environment variables on UNIX systems?
[click to continue…]

Bash History: Display Date And Time For Each Command

How do I display shell command history with date and time under UNIX or Linux operating systems?
[click to continue…]

Clear Shell History In Ubuntu Linux

How do I clear the shell history in Ubuntu Linux?

[click to continue…]

How To Search Shell Command History

Q. How do I search old command history under bash shell? How do I display or modify previous commands?
[click to continue…]

Clear Linux / UNIX BASH Shell Command Line Cache / History

Q. I just noticed faq about clearing dns cache and there are lots of commands stored in my cache. Can you tell me the command to clear out my command history or cache from a shell prompt?
[click to continue…]

Understanding command line shell

Q. I’ve migrated from Windows NT to Linux workstation. Most documents refer to a command line shell. Can you explain me command line shell?

A. A shell allows you to type the commands such as date or clear. There are many shell available. BASH (bourne again shell) is default shell for most Linux distributions.

It also known as a command interpreter which takes command from user and pass the same to kernel for execution. Bash shell supports aliases, filename completion, command history, POSIX compatibility and many other features.

Other UNIX / Linux shell

  • csh / tcsh
  • sh / ksh

Linux and UNIX view command-line history

Q. How do I view command line history? I am using Cent OS Linux system.
[click to continue…]

What is UNIX / Linux C Shell?

What is C shell under UNIX / Linux operating systems?
[click to continue…]