這裏是我的/root/.bash_profile
:爲什麼/root/.bash_profile中的命令啓動兩次?
export DISPLAY=:42 && cd /home/df/SimulatedRpu-ex/bin && ./SimulatedRpu-V1 &
當我開始我的服務器,我運行ps aux | grep SimulatedRpu
,這裏是輸出:
root 2758 0.2 1.0 62316 20416 ? Sl 14:35 0:00 ./SimulatedRpu-V1
root 3197 0.5 0.9 61428 19912 pts/0 Sl 14:35 0:00 ./SimulatedRpu-V1
root 3314 0.0 0.0 5112 716 pts/0 S+ 14:35 0:00 grep SimulatedRpu
因此,已經使用了大約端口程序打印錯誤消息。 但是爲什麼/root/.bash_profile
中的命令啓動兩次? 請幫幫我,謝謝!順便說一句,我使用紅帽企業版5.5
嘗試在不同的行或用;在之間。 – Corbin 2012-03-15 06:44:23
謝謝你的回答!我跟着你說的,我解決了這個問題。祝你好運! – smarthand 2012-03-15 14:27:05