Managing System Files
File and Directory Management
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
page 1-13
Displaying Directory Contents Including Subdirectories
The
ls
-r
command displays the contents of your current directory in addition to recursively displaying all
subdirectories. The following example shows the result of the
ls
-r
command where the /
flash
/
working
directory contains a directory named
newdir1
. Be sure to include a space between
ls
and
-r
.
-> ls -r /flash/working
Listing Directory /flash/working:
drw 2048 Oct 14 17:14 ./
drw 2048 Oct 14 17:12 ../
drw 2048 Oct 14 17:14 newdir1/
-rw 2636 Oct 12 11:16 boot.cfg
-rw 123574 Oct 14 10:54 Kbase.img
-rw 123574 Oct 14 10:54 Ksecu.img
Listing Directory /flash/working/newdir:
drw 2048 Oct 14 17:14 ./
drw 2048 Oct 14 17:14 ../
Copying an Existing Directory
The
cp
-r
command recursively copies directories, as well as any associated subdirectories and files.
Before using this command, you should make sure you have enough memory space in your target direc-
tory to hold the new material you are copying.
Note.
Your login account must have write privileges to execute the
cp
-r
command.
In this example, a copy of the working directory and all its contents will be created in the certified direc-
tory of OmniSwitch 6800. The destination directory must exist before the
cp
-r
command will work.
->cp -r /flash/working flash/certified/working
Note.
The directories on OmniSwitch 6850 and OmniSwitch 9000 switches are similar.
Flash Directory
Working Directory
(Files)
boot.cfg
newdir1 Directory
Certified Directory
Working Directory
(Files)
newdir1 Directory
(Files)
boot.cfg
Kos.img
Krelease.img
Ksecu.img
Kbase.img
Ksecu.img
boot.cfg
Kbase.img
Ksecu.img
Содержание OmniSwitch 6850 Series
Страница 12: ...Contents xii OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 20: ...page xx OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 230: ...WebView Help Using WebView page 9 20 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 274: ...Verifying the SNMP Configuration Using SNMP page 10 44 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 292: ...Index Index 6 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...