Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
PROFILE(5) | File Formats Manual | PROFILE(5) |
NAME
profile
— login
shell startup
SYNOPSIS
~/.profile |
/etc/profile |
/etc/default/profile |
DESCRIPTION
Interactive login shell sessions in
sh(1) execute the commands in the
profile
script upon startup, searching for the
user's script at ~/.profile, any system
administrator provided script at /etc/profile, or
any operating system provided script at
/etc/default/profile, whichever exists first.
The shrc(5) script is run instead in interactive non-login shell sessions.
FILES
- ~/.profile
- The user's
profile
script. - /etc/profile
- The system administrator provided
profile
script. - /etc/default/profile
- The operating system provided
profile
script.
EXAMPLES
To portably run the shrc(5) script upon startup of non-login interactive shells in all shells:
export ENV="$HOME/.shrc"
SEE ALSO
BUGS
sh(1) is currently
primitive and cannot execute most scripts. Beware of sharing the
profile
script between it and other shells such as
dash(1).
November 9, 2022 | Sortix 1.1.0-dev |