有關history指令 - Linux

Table of Contents

我是使用TCSH,可是我發現我每次登出之後history中的紀錄都會消除

好像沒有在登出後寫到.history中(我也不確定,權限不夠不能開)

如果我想每次的指令都記錄下來,請問我要怎麼更改?

謝謝

--

All Comments

Audriana avatarAudriana2009-07-23
權限不夠不能開 所以也寫不進去?
Thomas avatarThomas2009-07-24
是的 chmod chown都不能用
Daph Bay avatarDaph Bay2009-07-25
登出前 history -w, 寫的進去嗎??
Hedy avatarHedy2009-07-29
Ursula avatarUrsula2009-08-01
出現Usage: history [-chrSLMT] [# number of events].
但是仍然是同樣情況
Xanthe avatarXanthe2009-08-04
tcsh似乎沒有-w的option
Callum avatarCallum2009-08-06
(1F)找有權限的人幫忙 或 (4F)按照連結的指示設定 histfile
Genevieve avatarGenevieve2009-08-07
四樓的方法似乎也會卡在權限,我再找權限高的幫忙,謝囉
Rachel avatarRachel2009-08-12
你 ls -al ~/ | grep -i history 會顯示出??