I installed BurpSuiteCommunity and the executable went to /opt
folder, so I moved it to /usr/bin because /usr/bin
is part of my PATH and most of applications were already there. I tried to do run BurpSuiteCommunity
in my home folder but it could not find the command. Then I found that the application is actually in /usr/bin/BurpSuiteCommunity/BurpSuiteCommunity
. If I were to go into that directory and run BurpSuiteCommunity
the application would run.
I tried to make a symlink in /usr/local/bin
(which is in my PATH) that points to BSC. If I try to go back to my home folder and type burp
I get a message which says
zsh: no such file or directory: ./usr/bin/BurpSuiteCommunity/BurpSuiteCommunity
How can I type burp
anywhere and run my application?
SOLUTION EDIT:
This is what I did to fix the problem:
I moved BSC back to /opt as suggested by mikem.
I modified by .zshrc by adding this export statement:
export PATH=/opt/BurpSuiteCommunity/:$PATH
I then modified by .zshrc again by adding this alias:
alias burp="BurpSuiteCommunity"
Then I typed
zsh
to restart the shell. Resolved.