因為我的 profile 裡有去 source 一支 shell
這支shell是我用來設定alias用的
但是這shell的最後面有這樣的東西
Code: Select all
function pps()
{
if [ "$1" = "-p" ]; then
ps ax|grep $2|grep -v pps|grep -v grep|awk '{print $1}'
else
if [ "$1" = "-u" ]; then
ps aux|grep $2|grep -v grep
else
ps ax|grep $1|grep -v pps|grep -v grep
fi
fi
}
set dspmbyte="0000000000000000000000000000000000000000000000000000000000000000222222222222222222222222222222222222222222222222222222222222222223333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333330"Code: Select all
dspmbyte="0000000000000000000000000000000000000000000000000000000000000000222222222222222222222222222222222222222222222222222222222222222223333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333330"
我後來是在一個偶然的機會從 ~/.xsession-errors發現到這個問題的
至於為什麼我要加那上面有問題的code呢?
原因是一段code是我從redhat放在/etc/profile.d裡的一支設alias的script抄過來的,一直沒有發生問題,直到最近
仍然感謝曾經幫助過我的人