...
Code Block |
---|
cdh #If you already have a .bashrc set up, make a backup copy first. cd cp .bashrc .bashrc_beforeRNASEQ #Copy a preconfigured login script cp /work/projects/BioITeam/projects/courses/Core_NGS_Tools/tacc/bashrc.corengs.ls5 .bashrc echo "export RNASEQ=/corral-repl/utexas/BioITeam/rnaseq_course_2016" >> .bashrc echo#echo "export PATH=\$PATH:/work/projects/BioITeam/common/bin/:/work/01184/daras/bin:/corral-repl#repl/utexas/BioITeam/bin" >> .bashrc chmod 600 .bashrc source .bashrc ls #See if it took effect echo $PATH ls $RNASEQ |
The chmod 600 .bashrc command marks the file as readable/writable only by you. The .bashrc script file will not be executed unless it has these permissions settings. Note that the well-known filename is .bashrc (or .profile on some systems), which is specific to the bash shell.
...