Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle 3 Administration, Third Edition

You're reading from   Moodle 3 Administration, Third Edition An administrator's guide to configuring, securing, customizing, and extending Moodle

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher
ISBN-13 9781783289714
Length 492 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Alex Büchner Alex Büchner
Author Profile Icon Alex Büchner
Alex Büchner
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Moodle Installation FREE CHAPTER 2. The Moodle System 3. Courses, Users, and Roles 4. Course Management 5. User Management 6. Managing Permissions – Roles and Capabilities 7. Moodle Look and Feel 8. Moodle Plugins 9. Moodle Configuration 10. Moodle Logging and Reporting 11. Moodle Security and Privacy 12. Moodle Performance and Optimization 13. Backup and Restore 14. Moodle Admin Tools 15. Moodle Integration 16. Moodle Networking A. Configuration Settings Index

Moosh – the Moodle shell

Before you can make use of Moosh, you will have to install it (see Chapter 8, Moodle Plugins). Once it's been installed, you have a vast number of commands (at the time of writing over 80!) at your disposal.

The general syntax of Moosh is as follows:

moosh <command> <options>

To give you an idea of the types of things you can do with Moosh, we will show you a number of examples.

Tasks

Commands

Description

Clear cache

moosh cache-clear

This is the equivalent of purge_caches using CLI

Show all plugin types

moosh info-plugins

Displays a list of all installed plugins and their installation location.

Create a user

moosh user-create test

Create a user with user name test.

Create 10 users

moosh user-create test{1..10}

This type of enumeration can be used with a number of Moosh commands.

Create a user with some optional values

moosh user-create --email mcbuchner@null.com --city "Heidelberg" --country DE --firstname...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime