beautypg.com

Creating new directories, Deleting directories, Using the editor – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 130

background image

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:/.

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