==Command Scripts==
{{Mark|Introduced with Version 7.5:}}
Database commands in both the string and XML syntax can be placed in a text file and stored on disk. The default extension for BaseX command scripts is {{Code|.bxs}}. If the path to a command script is passed on to BaseX, it will automatically be recognized and evaluated as such.
==OPEN==
{{Mark|Updated in Version 7.5:}} path argument removed.
{| width='100%'
==INSPECT==
{{Mark|Introduced with Version 7.5:}}
{| width='100%'
=Server Administration=
==SHOW DATABASES==
{{Mark|Removed in Version 7.5:}}
{| width='100%'
|-
| '''Syntax'''
|width='100%'|{{Code|SHOW DATABASES}}
|-
| '''XML Syntax'''
|<code><show-databases/></code><br/>
|-
| '''Permission'''
|''ADMIN''
|-
| '''Summary'''
|Shows all databases that are opened in the current server instance.
|}
==SHOW SESSIONS==
|-
| '''Summary'''
|Evaluates the contents of {{Code|[file]}} as XQuery expression. Since {{Version|7.5}}, if If the file ends with the suffix {{Code|.bxs}}, the file content will be evaluated as [[#Basics|command script]]. This command can be used to run several commands in a single transaction.
|-
| '''Errors'''
==EXECUTE==
{{Mark|Introduced with Version 7.5:}}
{| width='100%'