i need to free some space on my juniper router , in the root directory when i use >ls -lash command i see a .tgz file which is 405 M , my question , if i delete this will it cause any problem ?

enter image description here

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Dec 17 '20 at 19:01

Juniper built a specific command for cleaning up files.

request system storage cleanup and request system storage cleanup dry-run

The documentation is here, but basically it's for doing exactly what you want - deleting unnecessary files. I tend to just use dry-run and manually delete a handful if I'm even slightly concerned about it. While it's a bit liberal, it will never delete anything critical to the system.


You can safely delete that file. Someone most likely left it there by mistake after a software upgrade.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.