Removing A Directory And Its Contents - Alcatel-Lucent OmniSwitch 6850-48 Management Manual

Release 6
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

Managing System Files
To verify the creation of the new directory, use the
certified directory. This list will include the files that were originally in the certified directory plus the
newly created copy of the working directory and all its contents.
->ls -r /flash/certified
Listing Directory /flash/certified
drw
2048 Oct 12 16:22 ./
drw
2048 Oct 15 10:16 ../
-rw
4347 Oct
-rw
844217 Oct 25 14:21 Kos.img
-rw
4658 Oct 25 14:21 Krelease.img
Listing Directory /flash/certified/working
drw
2048 Oct 14 17:14 ./
drw
2048 Oct 14 17:12 ../
drw
2048 Oct 14 17:14 newdir1/
-rw
4347 Oct
-rw
142830 Oct 25 14:17 Ksecu.img
-rw
2743945 Oct 25 14:16 Kbase.img
-rw
844217 Oct 25 14:17 Kos.img
Listing Directory /flash/certified/working/newdir:
drw
2048 Oct 14 17:14 ./
drw
2048 Oct 14 17:14 ../

Removing a Directory and its Contents

The
rmdir
command removes the specified directory and all its contents. If the following command is
issued from the flash directory shown in the drawing on
removed from the certified directory.
->rm -r /flash/certified/working
Note. Your login account must have write privileges to execute the
OmniSwitch AOS Release 6 Switch Management Guide
ls
2 12:25 boot.cfg
2 12:25 boot.cfg
September 2009
File and Directory Management
-r command to produce a list of the contents of the
page
1-8, the working directory would be
rmdir
command.
page 1-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents