What's Included

This page lists out the various components included in a standard IOVAR Web Shell installation.

Executables

Executables currently supported are Java servlets and web shell scripts. They generally live in /bin (standard utilities), /sbin (system administration), /usr/bin, /usr/local/bin, /opt/bin, etc.

Working

  • /$ (Java) - default interactive interface
  • /bin/cat (Java) - output the input; fetch resources and output together, in order
  • /bin/delete (Java) - remove resource (HTTP DELETE)
  • /bin/echo (Java) - output the input; output its arguments, in order
  • /bin/exists (Java) - return true if resource exists
  • /bin/exit (Java) - set shell exit code value
  • /bin/export (Java) - export variable to parent environment
  • /bin/fg (Java) - bring job to foreground
  • /bin/get (Java) - fetch resource contents (HTTP GET)
  • /bin/help (shell) - show information which might be helpful
  • /bin/iosh (Java) - IOVAR shell interpreter
  • /bin/jobs (Java) - list jobs that have been put in the background
  • /bin/mkdir (shell) - create directory resource
  • /bin/patch (Java) - update resource contents (HTTP PATCH)
  • /bin/post (Java) - initiate (execute) resource, with optional payload (HTTP POST)
  • /bin/put (Java) - place resource contents (HTTP PUT)
  • /bin/pwd (shell) - print working directory
  • /bin/pwu (shell) - print working universe
  • /bin/rm (shell) - remove resource
  • /bin/rmdir (shell) - remove directory resource
  • /bin/set (Java) - print environment variables
  • /bin/sh (Java) - shell interpreter (/bin/iosh)
  • /bin/sleep (Java) - sleep for a number of seconds
  • /bin/status (Java) - set HTTP status
  • /bin/system (Java) - execute system command
  • /bin/touch (shell) - create resource
  • /bin/which (Java) - output the full path of command
  • /usr/bin/basename (Java) - strip all but final path segment
  • /usr/bin/form2xml (Java) - converts form input data (url-encoded or multipart/form-data) into simple xml tree
  • /usr/bin/formfile (Java) - extract uploaded file from multipart/form-data input
  • /usr/bin/head (Java) - output beginning of content
  • /usr/bin/headers (Java) - display HTTP headers
  • /usr/bin/java2xml (Java) - (also at /usr/bin/j2x) convert Java object to XMl tree
  • /usr/bin/sed (Java) - simple stream editor (search and replace using regular expression)
  • /usr/bin/setxsl (shell) - insert <?xsl-stylesheet?> instruction in XML data from standard input
  • /usr/bin/tail (Java) - output end of content
  • /usr/bin/xargs (Java) - build arguments from standard input and execute command
  • /usr/bin/xlink (Java) - follow XML XLink references and embed
  • /usr/bin/xml2java (Java) - (also at /usr/bin/x2j) convert XML tree to Java object
  • /usr/bin/xmlout (Java) - (also at /usr/bin/xo) create simple xml tree
  • /usr/bin/xslt (Java) - xml transform with stylesheet

Planned

  • /bin/grep - filter for pattern
  • /bin/ls - list resources - will utilize /proc/cache
  • /sbin/modprobe - load system handler (from /lib)

Devices

Devices provide access to resources on the local machine and around the web. They live in /dev. Devices found at /dev/trans represent a transport mechanism and are accessed as URI prefixes (file:, http:, etc.).

Working

  • /dev/buffer - temporary resource buffers
  • /dev/log - system logging
  • /dev/null - simple do-nothing device
  • /dev/trans/http - http access
  • /dev/trans/local - loopback to exposed webapp http interface (files, servlets, streams, etc.), rooted at webapp root; this is the preferred way to generically access any exposed local resource
  • /dev/trans/file - access to local (host) filesystem, rooted at filesystem root
  • /dev/trans/res - access to web application resource (files and streams) via servlet context.getResourceAsStream(), rooted at webapp root; servlets are not serviced here (see /dev/trans/local)

Planned

  • /dev/trans/dns - dns protocol
  • /dev/trans/jdbc - (or call it /dev/sql ?)
  • /dev/trans/ldap
  • /dev/trans/ftp
  • /dev/trans/https
  • /dev/trans/ssh

Processes

Processes generally hold instance configuration/data and live at /proc.

Working

Planned

  • /proc/cache - cache device access data
  • /proc/class - running java object instances

System Handlers

Loadable modules for representing an object (resource uri) in the standardized dir/file object system (think filesystem mount points). They will live at /lib.

Working

  • (just the implied file/url Java default handlers)

Planned

  • /lib/dns - dns location/entry
  • /lib/ldap - ldap dn entry
  • /lib/java - java source file
  • /lib/sql - sql file / connection
  • /lib/memcache - memcached storage pool
Last modified 3 years ago Last modified on Aug 22, 2014, 9:03:16 PM