Where's certbot?

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.

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

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

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/)

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

$ which certbot-auto

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.

OK, thanks for your information.