Manually Verifying

If you’re a skeptical person then you might be asking:

“How can we be sure that Git was actually installed?”

Let’s verify this right now.

Kitchen has a login subcommand for just these kinds of situations:

Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-116-generic x86_64)

 * Documentation:
 * Management:
 * Support:

0 packages can be updated.
0 updates are security updates.

Last login: Sat Sep 22 17:17:36 2018 from

As you can see by the prompt above we are now in the default-ubuntu-1604 instance. We’ll denote the prompt in an instance with $ for clarity. Now to check if Git is installed:

$ which git
$ git --version
git version 2.7.4

Rockin. Now we can exit out back to our workstation:

$ exit
Connection to closed.

Feel free to use the login subcommand any time you have the urge to poke around, uninstall packages, turn off services, grep logs, etc. Go to town, this is a sandbox and isn’t production after all.