JunOS Suspending CLI after a CTRL-Z

Having old habits configuring Cisco gear you probably will fall on this too, if you type CTRL-Z on CLI at Juniper device you will suspend the process. So the question is how to take control again over that process?

After type CTRL-Z

[email protected]> configure
Entering configuration mode

[edit]
[email protected]#
Suspended

After you try using again the config mode, you get the following message

[email protected]% cli
[email protected]> configure
Entering configuration mode
Users currently editing the configuration:
root terminal d0 (pid 4409) on since 2014-10-15 04:36:13 UTC
[edit]

Getting again the previous session from the suspended space

[edit]
[email protected]# exit
Exiting configuration mode

[email protected]> exit
[email protected]% jobs
[1] + Suspended cli
[email protected]% fg 1
cli
[email protected]#

Leave a Reply

Your email address will not be published. Required fields are marked *