User guide

Managing System Files File and Directory Management
OmniSwitch 7700/7800/8800 Switch Management Guide April 2006 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 newly created copy of the working directory and all its
contents.
->ls -r /flash/certified
Listing Directory /flash/certified:
drw 2048 Oct 2 16:22 ./
drw 2048 Nov 15 10:16 ../
drw 2048 Jan 31 10:16 ../
Listing Directory /flash/certified/working
drw 2048 Nov 14 17:14 ./
drw 2048 Nov 14 17:12 ../
drw 2048 Nov 14 17:14 newdir1/
-rw 2636 Nov 12 11:16 boot.cfg
-rw 496901 Nov 6 11:07 Fweb.img
-rw 123574 Nov 14 10:54 Fsecu.img
-rw 123574 Nov 14 10:54 Fbase.img
-rw 123574 Nov 14 10:54 Fos.img
Listing Directory /flash/certified/working/newdir:
drw 2048 Nov 14 17:14 ./
drw 2048 Nov 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 switch directory.
->rm -r /flash/certified/working
Note. Your login account must have write privileges to execute the rmdir command.