[問題] 請問tcsh的root login的問題
man tcsh:
....
A login shell begins by executing commands from the system files
/etc/csh.cshrc and /etc/csh.login. It then executes commands from
files in the user's home directory: first ~/.tcshrc (+) or, if
~/.tcshrc is not found, ~/.cshrc, then ~/.history (or the value of the
histfile shell variable), then ~/.login, and finally ~/.cshdirs (or the
value of the dirsfile shell variable) (+). The shell may read
/etc/csh.login before instead of after /etc/csh.cshrc, and ~/.login
before instead of after ~/.tcshrc or ~/.cshrc and ~/.history, if so
compiled; see the version shell variable. (+)
.....
可是我用root登入或是su成root,
shell都不會去讀~/.cshrc,
請問有人踫到這種情況嗎?
我~/下只建.cshrc,
但是一般user就沒問題了。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.220.161
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章