You can use the J-Web interface to delete an individual file from the Services Router.
When you delete the file, it is permanently removed from the file
system.
Caution:
If you are unsure whether to delete a file from the device,
we recommend using the Cleanup Files tool described
in Cleaning Up Files. This tool determines
which files can be safely deleted from the file system.
Figure 24 shows the J-Web
page on which you confirm the deletion of files.
Figure 24: Confirm File Delete Page
To delete files with the J-Web interface:
In the J-Web interface, select Manage>Files.
In the Download and Delete Files section, click
one of the following file types:
Log Files—Lists the log files
located in the /var/log directory on the device.
Temporary Files—Lists the temporary
files located in the /var/tmp directory on the device.
Old JUNOS Software—Lists the
software images in the (*.tgz files) in the /var/sw/pkg directory on the device.
Crash (Core) Files—Lists the
core files located in the /var/crash directory on the device.
The J-Web interface displays the files located in the directory.
Check the box next to each file you plan to delete.
Click Delete.
The J-Web interface displays the files you can delete and the amount
of space that will be freed on the file system.
Click one of the following buttons on the confirmation
page:
To delete the files and return to the Files page, click OK.
To cancel your entries and return to the list of files
in the directory, click Cancel.