5

I was seeing my history when I found a line with a *

History has a command with *

whereas, in general, the history has an output without any *

Normal history output

I noticed this for the first time. When does this * appear and why?

EDIT:

Surprisingly the * dissapears after some time!

Star disappears in history

Can someone tell why there was a * in the first place and the logic behind it disappearing?

1 Answer 1

7

From bash(1)

history [n]

With no options, display the command history list with line numbers. Lines listed with a * have been modified.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .