Skip to main content
1 of 2
slaurel
  • 31
  • 1
  • 2

OpenBSD - How does one set an alias?

I am running the latest OpenBSD and I cannot figure out how to set a simple alias, something along the lines of cls=clear. I've tried putting it in ~/.cshrc and in ~/.profile. I've tried: alias cls clear alias cls=clear alias cls='clear' alias cls="clear" Nothing works.

On another but perhaps related note: If echo $SHELL tells me I'm using /bin/ksh, why a ~/.cshrc instead of ~/.kshrc?

Any help will be appreciated.

slaurel
  • 31
  • 1
  • 2