File and Directory Management
Managing System Files
page 1-18
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
Change File Attribute and Permissions
The
chmod
and
attrib
commands have the same function and use the same syntax. Use these commands
to change read-write privileges for the specified file. The following syntax sets the privilege for the
config1.txt
file to read-write. In this example, the user’s current directory is the /
flash
file directory.
Note.
You must have read-write privileges to a file to change that file’s privileges.
To set the permission for the
config1.txt
file to read-only, use the following syntax.
-> chmod -w /flash/config1.txt
To set the permission for the
config1.txt
file to read/write, use the following syntax.
-> chmod +w /flash/config1.txt
Delete an Existing File
The delete command deletes an existing file. If you use the
delete
command from the directory containing
the file, you do not need to specify a path. If you are in another directory, you must specify the path and
name for the file being deleted. The user of this command must have write privileges for any file being
deleted.
-> delete /flash/config.txt
Содержание 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...