GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Nextcloud Command Line |
The occ command is used to manage a Nextcloud server from the command line. Depending on the installation it may be run as:
sudo -u www-data php /var/www/nextcloud/occ |
It is useful though to set this up as an alias or a shell script. For example:
$ echo "alias occ='sudo -u www-data php /var/www/nextcloud/occ'" >> ~/.profile |