Shell Configurations

  • The shell configuration files are ‘~/.bashrc’ and ‘~/.profile’ in the home directory
  • you can set environment variables by using an assignment, followed by the ‘export’ aommand
    • VARIABLE_NAME=variable.value
    • export VARIABLE_NAME
    • (or you can combine) export VARIABLE_NAME=variable.value
  • view the value of a variable with the ‘echo’ command
    • echo $VARIABLE_NAME
Scroll to top