Change File Attribute And Permissions; Delete An Existing File - Alcatel-Lucent OmniSwitch 6800 Series Management Manual

Hide thumbs Also See for OmniSwitch 6800 Series:
Table of Contents

Advertisement

File and Directory Management

Change File Attribute and Permissions

The
chmod
and
attrib
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
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
page 1-18
commands have the same function and use the same syntax. Use these commands
OmniSwitch 6800/6850/9000 Switch Management Guide
delete
command from the directory containing
Managing System Files
December 2007

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6850 seriesOmniswitch 9000 series

Table of Contents