AO Logo
 
  
  
  
Description
Commands
AO
AO Industries, Inc.
Application Infrastructure ProviderApplication Infrastructure Provider
Sign UpWhat's NewClient AreaContact UsSite Map
 
your location:   home page ··· aoserv platform ··· software components ··· aoserv client ··· aosh ··· description
Description of AOSH

Building on the AOServ Client, the AOShell is an interactive and scriptable command line interpreter loosely based on the well-known Bourne shell. It also incorporates a select command with behavior modeled after the SQL92 standard. Almost every function provided by the client API may be performed manually or within a script using the numerous commands made available by the shell.


Good starting points for learning the AOSH:

  1. The AOServ Connecting How-To
  2. The other How-To's
  3. The help command

The AO Shell is currently available from any SSH or telnet connection, and is accessible by typing "aosh -i" (or "/opt/aoserv-client/bin/aosh -i" if not in your $PATH). The -i switch makes the command interpreter interactive, providing prompts and user-formatted output. Once logged in, help is available via the help and "help command" commands (try "help help").

To add "aosh" to your $PATH, source either /opt/aoserv-client/profile.sh (for Bourne shells) or /opt/aoserv-client/profile.csh (for C shells). This may be accomplished by using the per-user ~/.profile.d directories supported by /etc/profile.d/aoserv-profile.d.{,c}sh as follows:

mkdir -m 700 -p ~/.profile.d
ln -s ../../opt/aoserv-client/profile.csh ~/.profile.d/aoserv-client.csh
ln -s ../../opt/aoserv-client/profile.sh  ~/.profile.d/aoserv-client.sh
Copyright © 2000-2024 AO Industries, Inc.