GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Cloud Computing |
20200123 Nextcloud is the pre-eminent open source cloud server.
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 |