tomnomnom / waybackurls

Fetch all the URLs that the Wayback Machine knows about for a domain
3.41k stars 455 forks source link

bash: waybackurls: command not found #16

Open FaizanNehal opened 4 years ago

FaizanNehal commented 4 years ago

Hello, when I install this tool using the command go get github.com/tomnomnom/waybackurls it successfully installed but upon running it showed the following error bash: waybackurls: command not found Now I was able to run the tool when I installed it with git clone but there is a problem that I have to open the directory in which the tool is saved in order or run it, or I have to provide the full path, Am I missing something here. Is there something I can do to run the tool just by typing waybackurls in any directory.

clove3am commented 4 years ago

@FaizanNehal you need to add export PATH="$PATH:$HOME/go/bin" to your bashrc file. Example here: https://wiki.archlinux.org/index.php/Go#.24GOPATH

ArisBee commented 3 years ago

Solved, I didn't know /go/bin isn't included to the system path by default. Would be great to add it to the readme for Go noobs.