Want to know -on the fly- if the softmode has been enabled ? Simple with bash: PROMPT_COMMAND='cat /proc/rsbac-info/active|grep SOFTMODE > /dev/null \ && mode=$(echo -e "\e[31;01m") \ || mode=$(echo -e "\e[34;01m")' PS1='\[\033[32;01m\]\u@$mode\h\[\033[0;m\]:\w\$ ' This prompt will show your hostname in red whenever softmode is enabled, in blue otherwise.