run a command with sudo in the .bashrc February 1, 2025 | No Comments | linux First open the .bashrc then if you have the password in an environment variable, example SUDO_PASSWORD without environment variable: If you don’t want to restart […]