Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Managing System Files File and Directory Management
OmniSwitch 6600 Family Switch Management Guide March 2005 page 2-13
To verify the creation of the new directory, use the ls -r command to produce a list of the contents of 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 2 12:25 boot.cfg
-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 2 12:25 boot.cfg
-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 page 2-8, the working directory would be
removed from the certified directory.
->rm -r /flash/certified/working
Note. Your login account must have write privileges to execute the rmdir command.