Where's certbot?


#1

Ubuntu trusty on AWS EC2. The whole install was going swimmingly until:

$ ./path/to/certbot-auto --apache

I swear to God, I cannot find where certbot-auto is hidden.

Any clues what the path might be. I tried “find” and nothing turned up.


#2

It’ll be in the directory you ran wget in.


#3

And if all else fails you could try updatedb and locate http://www.computerhope.com/unix/ulocate.htm


#4

Locate did it! The best thing about Linux is that there’s always a tool for anything you need.

(For those following along at home, it was in /home/ubuntu/)


#5

I’m not entirely sure whether it also works for certbot, but this command should show you where it is installed:

$ which certbot-auto

#6

We’re at risk of drifting off-topic but “which” mainly examines the PATH directories to see if the thing you typed is a binary in those directories. Which it probably won’t be if you downloaded it to a home directory.


#7

OK, thanks for your information.