- Subscribe to RSS Feed
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
how do i delete a directory in junos
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Flag for a Moderator
11-06-2009 03:50 PM
hi all,
how do i delete a directory in junos? I tried file delete /cf/var/tmp/junos-10.0R1.8.
basically what happend is when I was trying to install JUNOS10 it failed on my first verification, I made my changes etc and ran it with no-verification and now JUNOS10 is installed but it kept the old installation files and directories in my TMP folder.
Its taking up roughly around 400MB how would I remove this?
Thanks
Re: how do i delete a directory in junos
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Flag for a Moderator
11-06-2009 04:55 PM
Issue a "start shell" command from the operational mode prompt to drop back to the UNIX shell. Then you can use regular Unix commands like "rm /dir/file to remove whatever.....
JNCIS-SEC, FWV, SSL; JNCIA-ER, EX, IDP, UAC, WX
If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Re: how do i delete a directory in junos
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Flag for a Moderator
11-06-2009 11:51 PM
Shell command 'rm' will remove files. For directories use 'rmdir'.
-Richard
Re: how do i delete a directory in junos
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Flag for a Moderator
11-07-2009 07:12 AM
OK rm -r <directoryname> then. Removes the dir and content of it. rmdir fails on none empty dir.
Screenie.
JNCIA IDP EX AC WX DX (expired (:-) JNCIS FW SSL ER ES JNCI
If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.

