title: What does the asterisk character mean next to history item in shell?
body: <p>From time to time in my <code>iTerm</code> (<code>macOS Sierra</code>) I type <code>history</code> to get a list of recently used commands.</p>
  
  <p>I noticed that some of them are appended with an asterisk character.</p>
  
  <pre><code> 3254  code
   3255  gulp
   3256* cd foo
   3257* youtube-dl https://www.youtube.com/watch\?v\=xxxxxxxxxxx
   3258  ls
  </code></pre>
  
  <p>What is the purpose of <code>*</code> character in lines <em>3256</em> and <em>3257</em>?</p>