Bash not working in webstorm Follow Dit2025cst Created November 22, 2021 09:38 Hello, i try to run simple commands as sudo su from bash and i get bash: sudo: command not found
Does it work if you remove
I tested and i have as output
sh: sudo: command not found
and if no options are passed?
bash: sudo: command not found
Looks like a system configuration issue, not related to IDE integration. Does the problem occurs in a system terminal?
I guess you need to find `sudo` binary location. For this, you can open a shell session where `which sudo` finds something. Then, make sure that `PATH` environment variable contains this folder when running `/bin/sh -i` shell.