命令别名可以让你简化命令,将很长的命令设置成你喜欢的命令。
alias ll='ls -l'
瞬间感觉舒服多了,不用敲那么多代码了。如果忘记了,可以通过alias查看设置的命令。
取消别名设置:unalias ll
To view this video please enable JavaScript,and consider upgrading to a web browser that supports HTML5 video
This is a modal window.
Beginning of dialog window.Escape will cancel and close the window.
End of dialog window.