Alcatel-Lucent 6850-48 補足マニュアル
File and Directory Management
Managing System Files
page 1-12
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
Displaying Directory Contents Including Subdirectories
-r command displays the contents of your current directory in addition to recursively displaying all
-r command where the /flash/working
directory contains a directory named newdir1. Be sure to include a space between
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
-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.
tory to hold the new material you are copying.
Note. Your login account must have write privileges to execute the
-r command.
In this example, a copy of the working directory and all its contents will be created in the certified direc-
tory of an OmniSwitch. The destination directory must exist before the
tory of an OmniSwitch. The destination directory must exist before the
-r command will work.
->cp -r /flash/working flash/certified/working
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
Kos.img
Krelease.img
Ksecu.img
Kbase.img
Ksecu.img
boot.cfg
Kbase.img
Ksecu.img