Why some lines in Bash history become “*”?

后端 未结 2 1446
清歌不尽
清歌不尽 2020-12-29 19:35

Why some lines (as below line 509 and 512 ) in Bash history become \"*\", after I execute reverse-i-search?

507  stty -ixon
508  history
509* 
510  echo 10
5         


        
2条回答
  •  北海茫月
    2020-12-29 20:33

    * Asterisk is an indication as well, that the commands were run from a different session. You can check this by opening two terminal windows, running bunch of commands and checking history on both. Asterisk will only appear on the commands the other window executed.

提交回复
热议问题