
Creating and Managing Files
Software Reference for x310 Series Switches
6.6 AlliedWare Plus
TM
Operating System - Version 5.4.4C C613-50046-01 REV A
To go up one level, which returns you to the top-level directory of NVS memory, enter the
command:
Creating new directories
To create a directory, enter Privileged Exec mode and enter the command:
Example To make a directory called “example” within the Flash filesystem, enter the command:
Deleting directories
To delete an empty directory, enter Privileged Exec mode and enter the command:
To delete a directory and all its contents, enter Privileged Exec mode and enter the
command:
The switch prompts you for confirmation.
Example To delete an empty directory called “example” from within the Flash filesystem, enter the
command:
Using the editor
The inbuilt editor is JOE (Joe’s Own Editor).
To edit an existing file, enter Privileged Exec mode and enter the command:
To open the editor with an empty file, enter the command:
When you save the new file, you may need to specify the filesystem to store it on. For
Flash, use flash:/<filename>.
awplus#
cd ..
awplus#
mkdir <directory-name>
awplus#
mkdir example
awplus#
rmdir <directory-name>
awplus#
delete recursive <directory-name>
awplus#
rmdir example
awplus#
edit <filename>
awplus#
edit
Komentáře k této Příručce