crux
Table of Contents
Crux Linux
Notes about a Crux Linux post-install configuration and settings.
Crux Linux is a tricky Linux distribution because is targeted at experienced Linux users.
Bottom-To-Top
Here we configure Crux Linux bottom-to-top, step by step.
Crux Linux /etc/skel
Linux Crux has no idea about /etc/skel directory. That directory doesn't exist. It means, when a new user is added to the system, that user $HOME directory is empty. With such environment, Bash doesn't source any start up configuration files as .bash_profile or .bashrc.
Configure Bash
In this section, we will provide a minimum set of configuration file which are “required” to give to Crux Linux a useful shell.
Create the following file:
$HOME/.bash_profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
$HOME/.bash_profile
if [ -f /etc/bashrc ]; then
. ~/.bashrc
fi
unset rc
export PS1="[\w]\n\u@\h $ "
crux.txt · Last modified: February 2024 by luxlucis