Jump to content

Adding PATH in linux


b0N3z

Recommended Posts

As i'm still a newb at adding paths and so on, here is what im trying to do.  On my RPI3, using raspbian, im trying to add my golang path to the root directory so that I can use bettercap with the sudo command.  I know im probably overlooking something or just not quite understanding something.  but bettercap will run without sudo but always tells me it doesnt have permission and when I try to use $ sudo bettercap , my pi tells me that the command is not found.  

So i need to add my go path to root but im at a loss on how.  I have already added the go path in my .bashrc file from my home directory but being a pi that is not root.   I would just use kali on my pi, but I also want to learn more about linux while im stuck, id still like to learn for future programs.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...