频道栏目
首页 > 资讯 > Linux认证 > 正文

对Linux新手非常有用的20个命令:history命令

16-06-02        来源:[db:作者]  
收藏   我要投稿

history命令

history”命令就是历史记录。它显示了在终端中所执行过的所有命令的历史。

 

?

1

 

2

 

3

 

4

 

5

 

6

 

7

 

8

 

9

 

10

 

11

 

12

 

13

 

14

 

15

 

 

root@tecmint:~# history

 

 

1 sudo add-apt-repository ppa:tualatrix/ppa

 

2 sudo apt-get update

 

3 sudo apt-get install ubuntu-tweak

 

4 sudo add-apt-repository ppa:diesch/testing

 

5 sudo apt-get update

 

6 sudo apt-get install indicator-privacy

 

7 sudo add-apt-repository ppa:atareao/atareao

 

8 sudo apt-get update

 

9 sudo apt-get install my-weather-indicator

 

10 pwd

 

11 cd && sudo cp -r unity/6 /usr/share/unity/

 

12 cd /usr/share/unity/icons/

 

13 cd /usr/share/unity

 

 

 

 

注意:按住“CTRL + R”就可以搜索已经执行过的命令,它可以在你写命令时自动补全。

 

?

 
 
1

 

 

(reverse-i-search)`if': ifconfig

 


相关TAG标签
上一篇:对Linux新手非常有用的20个命令:uname命令
下一篇: nova boot代码流程分析(三):nova与neutron的plugin交互
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站