nerdexam
Juniper

JN0-102 · Question #156

By default, which character indicates the UNIX shell prompt?

The correct answer is D. %. In Junos OS, the percent sign (%) character indicates that the user has exited the CLI and is currently operating within the underlying FreeBSD-based UNIX shell. This shell allows for system-level commands.

User Interface Options

Question

By default, which character indicates the UNIX shell prompt?

Options

  • A

  • B
  • C$
  • D%

How the community answered

(52 responses)
  • A
    4% (2)
  • B
    6% (3)
  • C
    2% (1)
  • D
    88% (46)

Why each option

In Junos OS, the percent sign (%) character indicates that the user has exited the CLI and is currently operating within the underlying FreeBSD-based UNIX shell. This shell allows for system-level commands.

A#

The '#' character indicates configuration mode in the Junos OS CLI, used for modifying device settings.

B>

The '>' character indicates operational mode in the Junos OS CLI, used for monitoring and executing operational commands.

C$

The '$' character is a common user shell prompt in many Linux/UNIX systems but not the default for the Junos OS Unix shell, which uses '%'.

D%Correct

The '%' character is the default prompt for the underlying FreeBSD UNIX shell in Junos OS, providing access to standard shell commands and the file system for system-level operations.

Concept tested: Junos CLI Unix shell prompt

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/topic-map/cli-modes.html

Topics

#CLI prompts#UNIX shell#Junos modes

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice