Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

start shell

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
start shell (csh | sh) 
<user username>

Description

Exit from the CLI environment and create a UNIX-level shell. To return to the CLI, type exit from the shell.

Juniper Networks does not provide support for operations in the shell.

Note:
  • To issue this command, the user must have the required login access privileges configured by including the permissions statement at the [edit system login class class-name] hierarchy level.

  • UNIX wheel group membership or permissions are no longer required to issue this command.

Options

csh

Create a UNIX C shell.

sh

Create a UNIX Bourne shell.

user username

(Optional) Start the shell as another user.

Additional Information

When you are in the shell, the shell prompt has the following format:

content_copy zoom_out_map
username@hostname%

An example of the prompt is:

content_copy zoom_out_map
root@host%

Required Privilege Level

shell or maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

start shell csh

content_copy zoom_out_map
user@host> start shell csh              
% 

exit
% 

username@hostname% start shell sh 
% 

exit
user@host> 

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation