JupyterLab startup action

I want my JupyterLab container (deployed on K8s) to launch a terminal window and execute a bash command once JupyterLab loads. Is there a way to do that? Any input would be greatly appreciated.