Bash terminal doesn't recognize some commands

I'm trying to switch from VSCode to IntelliJ-based IDEs and I wonder why some commands e.g. sudo, apt, node, don't get recognized by the integrated terminal. (I'm using Ubuntu as my OS and Bash in IntelliJ). The terminal just prints out:

bash: sudo: command not found

The terminal in VSCode just worked out of the box.

Comment actions Permalink

what do your terminal settings look like? Please provide a screenshot of Settings | Tools | Terminal page


Please sign in to leave a comment.