命令行 归档 - 张再筵的博客

我不分白天或黑夜,因为我觉得我的人生就像在白夜中行走。----《不善》

终端小技巧 1. sudo !! 主要是利用了shell(bash)的History Expansion,我们使用history命令时能够列举执行的历史命令列表: $ history 1 tar cvf etc.tar /etc/ 2 cp /etc/passwd /backup 3 ps -ef | grep http 4 service sshd rest...

发布 1 条评论