A shortcut exists for some of the command keywords. For example, you may replace
the <code>DATABASE</code> keyword with <code>DB</code>.
A [[Commands_(Snapshot)|preview page]] contains all commands offered by the [http://files.basex.org/releases/latest/ latest stable snapshot].
=Glob Syntax=
==ADD==
{|
|-
|-
| valign='top' | '''Summary'''
|Renames the database specified by <code>[name]</code> to <code>[newname]</code>.<br/>Note that database backups will keep their names. This way, a database can be duplicated by renaming it and restoring its backup.
|-
| valign='top' | '''Errors'''
|-
| valign='top' | '''Errors'''
|The command fails if the database could neither beither be opened nor created.
|}
| valign='top' | '''Examples'''
|
* <code>CREATE BACKUP db</code><br/>creates a zip archive of the database <code>db</code> (e.g. <code>db-2011-04-01-12-27-28.zip</code>) in your [[Configuration#Database_Directory|database directory]].
|}
|}
==KILL==
{{Mark|Introduced with Version 7.1:}} killing sessions by specifying IP:port
{|
|-
| valign='top' width='90' | '''Signature'''
|<code>KILL [nametarget]</code>
|-
| valign='top' | '''Permission'''
|-
| valign='top' | '''Summary'''
|Kills all sessions of the a user or an IP:port combination, specified by <code>[nametarget]</code>. The Glob syntax can be used to address more than one user.
|-
| valign='top' | '''Errors'''
|The command fails if <code>admin</code> is specified as user name, or if a user tries tried to kill his /her own sessionssession.
|}
==LIST==
{|