I just recently purchased a ThinkPad T480 and while setting up IntelliJ on Ubuntu I was surprised that the following command from the terminal did not work out of the box:
The fix for this is pretty simple, just create an alias and add it to your .zshrc or .bash_profile:
alias idea="intellij-idea-ultimate" OR alias idea="intellij-idea-community"
That’s all! This simple fix is all you need – I mean who really wants to type that full name out each time you want to open up your IDE?