Create a persistent .bashrc
In Nuvolos, the ~/.bashrc file is generated automatically, and is tailored for each application. While you can edit this file, the changes will be lost once the application is restarted.
If you wish use a persistent .bashrc, you have different options based on when your instance was created:
Bashrc locations
For instances created after 2022-02-08, Nuvolos generates a default bashrc at
/files/.nuvolos/.bashrc
We recommend not to modify this generated bashrc file. Rather, please create a custom .bashrc at
/files/.bashrc
The system will automatically source this latter file too when opening a new shell session.
Disable core dump files
When a process crashes due to a serious failure, the operating system might create a core dump file of the process's memory before the crash. This file can be rather large depending on the memory usage of the process.
Luckily, you can disable core dump files by issuing the following command in a bash terminal:
ulimit -c 0
To make sure every terminal opened in your Nuvolos app has core dumps turned off, you can put this in to your custom .bashrc.
Last updated
Was this helpful?