Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


set cli directory



Release Information

Command introduced before Junos OS Release 7.4.

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


Set the current working directory.


directoryPathname of the working directory.

Required Privilege Level


List of Sample Output

set cli directory

Output Fields

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

Sample Output

set cli directory

user@host> set cli directory /var/tmp