歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> linux系統入門學習(76)

linux系統入門學習(76)

日期:2017/2/25 10:32:14   编辑:Linux教程

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

Copyright © Linux教程網 All Rights Reserved