Skip to content

Instantly share code, notes, and snippets.

@honwhy
Created August 11, 2014 14:18
Show Gist options
  • Select an option

  • Save honwhy/af426d38ae34c6da2a14 to your computer and use it in GitHub Desktop.

Select an option

Save honwhy/af426d38ae34c6da2a14 to your computer and use it in GitHub Desktop.
善用history历史记录
在终端输入的命令被记录在history中
只是输入history就可以看到从前的命令
如果要再次执行从前的命令,只要 !1725
!linenumber 即可
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment