Removing A Directory And Its Contents - Alcatel OmniSwitch 6624 Management Manual

Omniswitch 6600 family
Hide thumbs Also See for OmniSwitch 6624:
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
683217 Oct 25 14:20 Hl2eth.img
-rw
844217 Oct 25 14:21 Hos.img
-rw
4658 Oct 25 14:21 Hrelease.img
-rw
193819 Oct 25 14:21 Hwebsecu.im
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
1041935 Oct 25 14:17 Hweb.img
-rw
142830 Oct 25 14:17 Hsecu.img
-rw
2743945 Oct 25 14:16 Hbase.img
-rw
844217 Oct 25 14:17 Hos.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 6600 Family Switch Management Guide
ls
2 12:25 boot.cfg
2 12:25 boot.cfg
April 2006
File and Directory Management
-r command to produce a list of the contents of the
page
2-8, the working directory would be
rmdir
command.
page 2-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents