Editing Text Files
Page 7-10
Creating a File Name for the Text Buffer
If no file name has been created for the text buffer, the following message is displayed when-
ever the
lb
command is executed:
Work buffer is unnamed
Use the
nb
command to create a name for the text buffer. To use this command, enter
nb
,
followed by the name you wish to give the text buffer. For example, if you want to name the
buffer
mpx.cmd
, enter
nb mpx.cmd
at the system prompt. The following screen is displayed, showing the current working direc-
tory (
/flash
), followed by the new name for the text buffer (
/mpx.cmd
):
Work buffer name is: /flash/mpx.cmd
Creating a Text File from the Text Buffer
The
wb
command is used to create—or
write
—a text file from the text buffer. To use this
command, enter
wb
followed by the name of the output file. For example, if you want to
create the file
switch.txt
, enter
wb switch.txt
at the system prompt. The following screen is displayed:
Work buffer name is: /flash/switch.txt
Writing Changes to Existing Files
You can also use the
wb
command to overwrite changes to an existing file. For example, if
you want to overwrite changes to the file
mpx.cmd
, enter
wb mpx.cmd
at the system prompt. The following screen is displayed:
/flash/mpx.cmd exists in /flash. Overwrite it? (y)
Press
<Enter>
to create the text file from the text buffer. The computer will take a few seconds
as it overwrites the file, and the following information is displayed:
File system compaction in progress...
At the system prompt, enter the
lb
command to view the name of the buffer. Note that the
work buffer is now named
/flash/mpx.cmd
.
Summary of Contents for Omni Switch/Router
Page 1: ...Part No 060166 10 Rev C March 2005 Omni Switch Router User Manual Release 4 5 www alcatel com ...
Page 4: ...page iv ...
Page 110: ...WAN Modules Page 3 40 ...
Page 156: ...UI Table Filtering Using Search and Filter Commands Page 4 46 ...
Page 164: ...Using ZMODEM Page 5 8 ...
Page 186: ...Displaying and Setting the Swap State Page 6 22 ...
Page 202: ...Creating a New File System Page 7 16 ...
Page 270: ...Displaying Secure Access Entries in the MPM Log Page 10 14 ...
Page 430: ...OmniChannel Page 15 16 ...
Page 496: ...Configuring Source Route to Transparent Bridging Page 17 48 ...
Page 542: ...Dissimilar LAN Switching Capabilities Page 18 46 ...
Page 646: ...Application Example DHCP Policies Page 20 30 ...
Page 660: ...GMAP Page 21 14 ...
Page 710: ...Viewing the Virtual Interface of Multicast VLANs Page 23 16 ...
Page 722: ...Application Example 5 Page 24 12 ...
Page 788: ...Viewing UDP Relay Statistics Page 26 24 ...
Page 872: ...The WAN Port Software Menu Page 28 46 ...
Page 960: ...Deleting a PPP Entity Page 30 22 ...
Page 978: ...Displaying Link Status Page 31 18 ...
Page 988: ...Displaying ISDN Configuration Entry Status Page 32 10 ...
Page 1024: ...Backup Services Commands Page 34 14 ...
Page 1062: ...Diagnostic Test Cable Schematics Page 36 24 ...
Page 1072: ...Configuring a Switch with an MPX Page A 10 ...
Page 1086: ...Page B 14 ...
Page 1100: ...Page I 14 Index ...