Using Nextcloud’s command line - if you Administer a NextCloud or ownCloud instance you need to know about this
Mostly you administer a NextCloud service from its admin dashboard but there additional functions you can also perform from the command prompt such as cleaning up filecache, rescanning the NextCloud data, removing deleted files. Why command line functionality is important is because you can set your own cron jobs to do some housekeeping automatically.
Even if you're running NextCloud via a cPanel, you do often have a terminal functionality under some cPanels to do this (I did mine this way) but I did have to change the occ file to execution permissions.
See more about occ at https://www.c-rieger.de/using-nextclouds-command-line/