Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    start shell

    Syntax

    start shell (csh | sh) <user username>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Command introduced in Junos OS Release 11.1 for the QFX Series.

    Description

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

    • 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:

    username@hostname%

    An example of the prompt is:

    root@host%

    Required Privilege Level

    shell and maintenance

    List of Sample Output

    start shell csh

    Output Fields

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

    Sample Output

    start shell csh

    user@host> start shell csh
    % 
    
    exit
    % 
    
    username@hostname% start shell sh
    % 
    
    exit
    user@host> 
    

    Published: 2013-04-05