Skip to main content

Persistent and Non-Persistent Files

When working within the qBraid Lab environment, please note that modifications to certain files and directories will not persist between sessions. The affected files and directories include:
  • .bash_logout
  • .conda
  • .config
  • .ipython
  • .jupyter
  • .local
  • .profile
  • .wget-hsts
Any changes made to these files or directories will be reset once your session ends.

Customizing Your Environment

Your .bashrc file contains a specific delimiter to delineate which sections of the file can be safely modified to persist between sessions. Here is the structure of the delimiter:
# ==================== DO NOT MODIFY CODE ABOVE THIS LINE ====================
# ANY CHANGES ABOVE THIS LINE WILL BE OVERWRITTEN DURING QBRAID SYSTEM STARTUP.
# You may add your custom configurations below this line.
Please ensure that any customizations you wish to retain are added below this delimiter line. Changes made above this line will not be saved when your session ends.

Suppressing the Terminal Banner

If you prefer not to see the qBraid terminal banner during startup, you can suppress it by setting the QBRAID_SHOW_BANNER environment variable to false. This adjustment can be made by executing the following command in terminal:
echo "export QBRAID_SHOW_BANNER=false" >> "$HOME/.bashrc"
This command appends the setting to disable the banner to the end of your .bashrc file, ensuring it takes effect in all future terminal sessions.