
我該如何告訴 screen 使用不同的 bash_profile?問題是我們使用技術用戶登錄,但我編輯了自訂 PS1。
通常我會使用 putty 登錄,例如: ssh user@host -t "bash --rcfile ~/.profile.custom -i"
但螢幕使用預設設定。將其設為 ' shell -"/usr/bin/bash --rcfile ~/.profile.custom -i
" 或 ' shell -$SHELL --rcfile ~/.profile.custom -i
' 中的參數。螢幕資源庫不起作用,因為螢幕在 2 秒後終止,沒有執行任何操作
-->!!V1!!<-- user@host:ENV1:/app1/users/home]$screen
[螢幕正在終止]