EasyManua.ls Logo

Alcatel-Lucent OmniSwitch 6800 Series - Change File Attribute and Permissions; Delete an Existing File

Alcatel-Lucent OmniSwitch 6800 Series
292 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Other manuals for Alcatel-Lucent OmniSwitch 6800 Series

Related product manuals