2 KiB
title | template | taxonomy | ||
---|---|---|---|---|
Administrate YunoHost in command line | docs |
|
The command line interface (CLI) is, in the computer world, the original (and more technical) way of interacting with a computer compared to graphical interface. Command line interfaces are generally said to be more complete, powerful or efficient than a graphical interface, though it is more difficult to learn.
In the context of YunoHost, or system administration in general, the CLI is commonly used to remotely control machines after connecting through connecting to it via SSH.
The yunohost
command can be used to administrate your server and perform the various actions similarly to what you do on the webadmin. The command must be launched either from the root
user or from the admin
user by preceeding them with sudo
. (ProTip™ : you can become root
with the command sudo su
as admin
).
YunoHost commands usually have this kind of structure :
yunohost app install wordpress --label Webmail
^ ^ ^ ^
| | | |
category action argument options
Don't hesitate to browse and ask for more information about a given category or action using the the --help
option. For instance, those commands :
yunohost --help
yunohost user --help
yunohost user create --help
will successively list all the categories available, then the actions available in the user
category, then the usage of the action user create
. You might notice that the YunoHost command tree is built with a structure similar to the YunoHost admin pages.