
File and Directory Management Managing System Files
page 1-10 OmniSwitch 6250/6450 Switch Management Guide May 2012
Displaying Directory Contents
The ls and dir commands have the same function. These two commands display the contents of the current
directory. If you use the ls or dir command while logged into the /flash file directory of the switch as
shown on page 1-8, the following will be displayed:
-> dir
Listing Directory /flash:
drw 512 Oct 25 14:39 certified/
drw 512 Jul 15 14:59 NETWORK/
drw 512 Oct 25 14:17 WORKING/
-rw 321 Oct 25 14:39 boot.params
-rw 163258 Oct 2 11:04 cs_system.pmd
-rw 11 Jul 30 14:09 boot.slot.cfg
-rw 693 Oct 9 11:55 boot.cfg.1.err
-rw 0 Oct 28 11:14 swlog1.log
-rw 64000 Oct 29 09:12 swlog2.log
9467904 bytes free
If you specify a path as part of the ls or dir command, your screen will list the contents of the directory at
the specified path.
-> ls /flash/certified
Listing Directory /flash/certified:
drw 2048 Oct 12 11:16 ./
drw 2048 Oct 12 15:58 ../
-rw 2636 Oct 12 11:16 boot.cfg
-rw 860086 Oct 26 11:07 Kos.img
-rw 123574 Oct 14 10:54 Ksecu.img
-rw 123574 Oct 14 10:54 Krelease.img
If you use the ls or dir command while logged into the /flash file directory, the following will be
displayed.
-> dir
Listing Directory /flash:
drw 1024 Nov 8 08:30 WORKING/
-rw 276 Nov 8 09:59 boot.params
-rw 4890749 Oct 21 21:43 cs_system.pmd
-rw 256 Nov 8 09:57 random-seed
-rw 64000 Nov 8 09:59 swlog1.log
drw 1024 Nov 8 08:31 certified/
drw 1024 Nov 8 08:29 NETWORK/
drw 1024 Nov 8 08:29 SWITCH/
-rw 222 Nov 8 09:59 boot.cfg.1.err
-rw 524288 Oct 31 10:51 u-boot.bin
-rw 834497 Oct 31 10:50 miniboot.uboot
-rw 64000 Nov 8 10:56 swlog2.log
-rw 719 Nov 6 12:07 test020
-rw 199567 Nov 5 11:16 rule930.txt
63308800 bytes free
Comentarios a estos manuales