看板FreeBSD
標 題Re: 請問 sudo 的 history放在哪
發信站中原資工神秘之旅 (Tue Aug 9 20:27:18 2005)
轉信站ptt!ctu-reader!ctu-peer!news.nctu!News.Math.NCTU!news.ice.cycu!csice
【 在
[email protected] (randy Randy) 的大作中提到: 】
: ※ 引述《[email protected] (家產有八十七億  ﰩ》之銘言:
: > 請問一下
: > 我某個id做 sudo -s後
: > 那他的history檔放在哪裡呢?
: > 我找過 ~/.history & /root/.history 都沒有
: > 想請教一下
: > 謝謝~
: 很糟糕的參數..... 應該沒有 log
設一下
set savehist = "10000 merge"
會把你原來 id 的 history 跟變成 root 的 history merge 在一起...
--
超級小D就是我.......
╭┬╮
│
┴│╭─﹏﹏──────────────
Web bbs http://bbs.ice.cycu.edu.tw
└┬┘│
中原資工神秘之旅 Post by SuperD │
╰﹏╯
From:wmnet1.cs.nthu.edu.tw ╰﹏﹏﹏
bbs.ice.cycu.edu.tw﹏﹏
Ω