Go to main content
Oracle® Fabric OS 1.0.2 Administration Guide

Exit Print View

Updated: November 2016
 
 

Create Your Own Commands

Use the fabric's SEDIT to create your own commands (scripts) and aliases.

  1. Create and open a file.
    [OFOS] file edit who

    The SEDIT starts.

  2. Define the behavior.
    [OFOS] 1   show user
  3. Save the file and exit the editor.
    [OFOS] ctrl-w
    ctrl-d
  4. Set the file access permissions and make the file executable.
    [OFOS] chmod +x who
  5. Test the command.
    [OFOS] who
    -------------------------
    name        admin
    descr
    roles       administrator

Related Information