Bash not working in webstorm

Hello, i try to run simple commands as sudo su from bash and i get 
bash: sudo: command not found


0

Does it work if you remove -i and use -login instead?

0

I tested and i have as output 
sh: sudo: command not found

 

0

and if no options are passed?

0

bash: sudo: command not found

0

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.

0

请先登录再写评论。