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.
Question
By default, which character indicates the UNIX shell prompt?
Options
- A
- B
- C$
- D%
How the community answered
(52 responses)- A4% (2)
- B6% (3)
- C2% (1)
- D88% (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.
The '#' character indicates configuration mode in the Junos OS CLI, used for modifying device settings.
The '>' character indicates operational mode in the Junos OS CLI, used for monitoring and executing operational commands.
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 '%'.
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
Community Discussion
No community discussion yet for this question.