比如
cat /etc/my.cnf
vi /etc/my.cnf
!$可以代替上一次命令的参数
这时可以使用
cat /etc/my.cnf
vi !$
bash中获得最近一次命令的参数
猜你喜欢
转载自kabike.iteye.com/blog/2021871
今日推荐
周排行