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


5 comments
Comment actions Permalink

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

0
Comment actions Permalink

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

 

0
Comment actions Permalink

and if no options are passed?

0
Comment actions Permalink

bash: sudo: command not found

0
Comment actions Permalink

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

Please sign in to leave a comment.