Go to main content
Oracle® Fabric OS 1.0.2 Administration Guide

Exit Print View

Updated: November 2016
 
 

Example: Redirect CLI Output to a File and Edit the File

This example redirects (>) the output of show system to a file named foo, then uses file edit filename command to start the editor and open the file:

[OFOS] show system > foo    
[OFOS] sedit foo

Command summary:

^w   write file (save)
^d   quit editor
^f   find regular expression
^g   find next
^p   for help
...

SEDIT runs as a script named sedit:

[OFOS] file edit /bin/sedit

See help sedit for documentation:

[OFOS] help sedit

Related Information