→ mp607:grep export .bash_history 這樣? 12/07 22:33
推 shinja:!export 12/07 22:34
推 shinja:上面是會執行最近一次的export 指令,如果要執行更早之前的 12/07 22:42
→ shinja:export 指令可能要借助history 12/07 22:42
推 kiani:ctrl+r (輸入export) (再按ctrl+r 選擇) 12/07 22:47
推 kdjf:egrep '^export' .bash_history 12/07 22:47
推 asimon:cat .bash_history|grep export 12/07 23:49
推 Jerr:$ history | grep export # history 就是 bash history 12/07 23:53
推 johnjohnlin:ctrl+r +1 12/08 11:32
推 DrHydra:ctrl+r +1 超好用的 12/08 14:23
→ pgychen:linux 果然臥虎藏龍,這麼古老的問題,都這麼多人會。 12/08 21:34
推 johnjohnlin:我只是在回 ptt 水球時按錯視窗發現的XD 12/08 23:42
推 in3:ctrl+r 再輸入e 01/16 16:33