Skip to content

03 Working with Files and Directories

Meg Staton edited this page Aug 11, 2023 · 3 revisions

Working with Files and Directories

Update your ~/.bash_profile with your favorite text editor (i.e. nano or vim) to include the following (just add to the end of the file and save):

# User specific environment and startup programs

export SPACK_ROOT=/pickett_shared/spack
PATH=$PATH:$HOME/bin:$SPACK_ROOT/bin
. $SPACK_ROOT/share/spack/setup-env.sh

To put the path in your prompt:

export PS1="\w> "

To make rm ask " are you sure?", add this to the .bashrc:

alias rm='rm -i'