.shrc .cshrc .profile

Can someone point me to a reference about the purpose of each of these scripts and how they relate?

I note that there is no .shrc in /, and wonder why not.

I would like to change PAGER to sysutils/most, a program I've only just discovered, and am not sure of the correct place to make this change. I only want to change it in one place, but apply universally. Can I do that?
 
Can someone point me to a reference about the purpose of each of these scripts and how they relate?
sh(1) and csh(1)

and am not sure of the correct place to make this change.
It's going to depend on which shell you're using.

I only want to change it in one place, but apply universally. Can I do that?
You could set it in login.conf(5) but that might get overruled by any of the shell startup scripts.
 
Back
Top