Linux UNIX History command
查询历史命令:history
调用历史命令:!命令编号
查询历史命令:Ctrl+r
相关文件:用户家目录下.bash_history
^2^1: modify the previous command
Example:
#ping 192.168.0.196
#^196^1 (= ping 192.168.0.1)
Use the last item in the previous command
press <esc> and press <.>
or press <Alt+.>
Example:
#ping 192.168.0.196
#telnet press <Alt+.> = telnet 192.168.0.196
Comments
Post a Comment