close
Solaris 10 沒有像 Linux一樣有/root的家目錄,如果以root登入,預設會參照/etc/profile。
所以修改/etc/profile,並將下列語法加入profile:
export PS1="[\u@\h \W]# "
登入後就會像Linux一樣的了
[root@sol /]#
全站熱搜
Solaris 10 沒有像 Linux一樣有/root的家目錄,如果以root登入,預設會參照/etc/profile。
所以修改/etc/profile,並將下列語法加入profile:
export PS1="[\u@\h \W]# "
登入後就會像Linux一樣的了
[root@sol /]#