close

Solaris 10 沒有像 Linux一樣有/root的家目錄,如果以root登入,預設會參照/etc/profile。

所以修改/etc/profile,並將下列語法加入profile:
export PS1="[\u@\h \W]# "

登入後就會像Linux一樣的了
[root@sol /]#

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 keven 的頭像
    keven

    平凡的幸福(備站)

    keven 發表在 痞客邦 留言(0) 人氣()