According to man bash : PS1 is set and $- includes i if bash is interactive, allowing a shell script or a startup file to test this state.
確定! 回上一頁