Linux에서 History 명령 결과에 "*"로 시작하는 빈 줄이 있는 이유는 무엇입니까?

Linux에서 History 명령 결과에 "*"로 시작하는 빈 줄이 있는 이유는 무엇입니까?

오늘 직장에서 제가 history잘 알지 못하는 명령을 알고 싶어서 방금 전에 실행했다고 확신했습니다. 그러나 동일한 터미널 창에서 실행했을 때 history명령에 대해 아무것도 발견하지 못했습니다. 나를 더욱 혼란스럽게 만들고 심지어 짜증나게 만든 것은 history. 이유를 말해 줄 수 있는 사람이 있나요? 구체적인 설명을 부탁드립니다.

 2008  make build_asdfasdfa
 2009  ls
 2010  cd asdfasdf
 2011  ls
 2012* 
 2013  exxxxxxxxxxxxxxxxxxx
 2014  ls
 2015  exxxxxxxxxxxxxxxxxx
 2016  ls
 2017  exxxxxxxxxxxxxxxxxxxxxx
 2018  ls

답변1

ReadLine 구성에서 속성이 켜져 있는 경우 수정된 기록 줄은 *명령 시작 부분 에 표시됩니다.mark-modified-lines

ReadLine 문서에 따르면 다음과 같습니다.

mark-modified-lines
    This variable, when set to On, says to display an asterisk ('*') at the
    start of history lines which have been modified. This variable is off
    by default. 

관련 정보