O'Reilly logo

Mastering Java 11 - Second Edition by Dr. Edward Lavieri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Feedback modes

Command-line tools usually provide relatively sparse feedback in an effort to not overcrowd the screen, otherwise, it may become a nuisance to developers. JShell has several feedback modes in addition to giving developers the ability to create their own custom modes.

As you can see, in the following screenshot, there are four feedback modes: concisenormal, silent, and verbose. We can enter the /set feedback command without any parameters to list the feedback modes as well as to identify the current feedback mode. The first line of output (see the following screenshot) displays the command-line command and argument set that would be used to set the feedback mode:

We can dictate which mode we want to enter when we first enter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required