In order to leverage a tool, we need to be familiar with how to use it, the commands it provides, and the various shortcut keys that we can use to be productive. In this recipe, we will look at the different ways we can navigate through JShell and also at the different keyboard shortcuts it provides to be productive while using it.
Navigating JShell and its commands
How to do it...
- Spawn JShell by typing jshell on the command line. You will be greeted with a welcome message that contains the instructions to get started.
- Type /help intro to get a brief introduction to JShell:
- Type /help to get a list of the supported commands:
- To get more information about a command, type /help <command>. For example, to get...