By Fekete Zoltán , 25 January, 2018 Setting up fancy prompt in Korn Shell (ksh) Put this line into your ~/.shrc: export PS1="$(echo -e "\033[31m$(whoami)\033[00m@$(hostname -s): \$PWD $") " Change coloring as you wish by tuning \e[31m and \e[00m parts. For color codes and further information see the link attached. Tags ksh netbsd prompt