Tags » .bash_history

Using the Terminal - Part 3: the history and aliases

In the third part I will continue with some more basics. Now that you know a few commands you might want to know how to use them easier. 1,222 more words


Linux reuse command history with shortcuts

Using command line history effectively will boost your productivity.
Here are some tips:

Repeat last executed command:

$ !!


$ !-1

Execute command with a key word: 75 more words


Security: Linux History command

History command can be useful for you to refer to, you can type history in your terminal and you will see the commands you had executed. 118 more words


Unix command history - How to save and reload

Many of us might have seen on your terminal commands from previous sessions are available on pressing up arrow. But have you faced a situation where it didn’t and you wished it did so as previous session commands could help you in tracking what you did or to see a command you typed to accomplish something. 60 more words

Operating System

HISTTIMEFORMAT: add execution time to Linux's history file

As you might know, Linux logs all the commands executed on a shell prompt to its history file. The file is .bash_history by default, but you can change it. 47 more words


Command line history

To view the history of commands of a user.


The history of commands are stored in the file .bash_history of user home directory.

To clear complete command line history of a user temporarily for a session. 17 more words