basic - BASIC interpreter


basic [ -l file ]


Basic invokes the BASIC interpreter. The number of free bytes in memory available is displayed, along with the parent process name of the interpreter which invoked it. This is reported so that the user can reinstate the original shell interpreter when done in BASIC.

If the optional -l flag is used with the name of a BASIC program, the program will be loaded automatically.


Basic can only be executed by root-level users. Once invoked, the “Unauthorized BASIC Entry” feature is disabled so that remote operations in BASIC are allowed. Normally, should the system land into BASIC with the this feature enabled, the system shuts down automatically, terminating the caller’s connection, and reboots.


It is possible to issue certain commands from BASIC that might crash the system. Internal and external shell commands cannot be executed from BASIC.