“history”命令就是歷史記錄。它顯示了在終端中所執(zhí)行過的所有命令的歷史。
?
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”就可以搜索已經(jīng)執(zhí)行過的命令,它可以在你寫命令時(shí)自動(dòng)補(bǔ)全。
?
1
|
(reverse-i-search)` if ': ifconfig
|
2015職稱計(jì)算機(jī)考試書PowerPoint2007中 .. 定價(jià):¥45 優(yōu)惠價(jià):¥42 更多書籍 | |
2015年全國職稱計(jì)算機(jī)考試教材(2007模 .. 定價(jià):¥225 優(yōu)惠價(jià):¥213 更多書籍 |