Share your .shrc and/or .kshrc configuration file(s) or samples. .profile can also be used to set common configurations of Bourne and Korn shells. Samples from this file intended for Bourne and Korn can be shared too.
There's not as many posts about use of Bourne shells and variant Korn shells...
Colorize your Csh or Bourne shell. Bourne shells include sh, ksh variants (Korn shells), and zsh. csh is a different kind of shell which uses a different syntax for commands.
Environment
Environment values can be added to your shell configuration file(s). These variables for Bourne shells can...
I can't seem to get my intended prompt whenever my shell is sh:
PS1="^[[1;31m`pwd` #^[[0m "
gives
[1;31m/root #[0m
and behaves like this:
[1;31m/root #[0m cd /usr
[1;31m/root #[0m pwd
/usr
[1;31m/root #[0m _
I am truly baffled. Even csh is more predictable on something similar. Especially...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.