GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OSH(1) FreeBSD General Commands Manual OSH(1)

oshcommand language interpreter

osh [options] script [args]

osh [options] -c [command_string] [args]

The osh utility is a bash(1)-compatible command language interpreter: it reads commands either from standard input, a script file or command-line arguments and executes them.

osh accepts POSIX sh(1) arguments, with the following differences:

Only validate the syntax. Also prints the AST.
What format the AST should be in.

 
 

The interactive shell only sources ~/.config/oils/oshrc on startup.

The osh utility exits with one of the following values:

1
One or more runtime errors occurred.
2
One or more parsing errors occurred, either due to incorrect script syntax or improper invocation of a shell builtin.
126
Permission was denied when running a command.
127
The referenced command or script could not be found.

bash(1), busybox(1), sh(1)

Docs

The osh utility was written by Andy Chu <andy@oilshell.org>

June 28, 2019 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.