Search term
Introduction:
Step 1: Download Moodle Backup Before we begin, ensure that you have a copy of the Moodle backup file on your computer, preferably on your desktop. This backup will serve as a reference point and allow you to make changes without affecting the live Moodle installation.
Step 2: Launch the Terminal On your computer, open the terminal or command line interface. The terminal provides a text-based interface to interact with your operating system and execute commands.
Step 3: Locate the Desired File In the terminal, enter the following command to search for a specific phrase or word within your Moodle backup directory:
bashgrep -Rnw /Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10/ -e 'EjsS Simulation Monitor Assignment'
This command searches for the phrase 'EjsS Simulation Monitor Assignment' within the specified directory. The terminal output will display the file(s) where the phrase is found, along with the corresponding line number.bash/Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10//mod/laejss/templates/lti_report.mustache:113:
bashmod/laejss/templates/lti_report.mustache
use file manager and navigate there and locate and edit to you own specification.
test it on https://vle.dev.sls.ufinity.com/assignment/view/c5800832-6a32-47e0-a94b-8861b3715031/page/890848992
Conclusion:
https://www.youtube.com/watch?v=ac2F-B4Uw_4
download a copy of the Moodle backup to your computer say desktop
launch terminal
type grep -Rnw /Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10/ -e 'EjsS Simulation Monitor Assignment'
lookang@Opens-MacBook-Pro moodle30.542_61559.2023-06-16_10-07-10 % grep -Rnw /Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10/ -e 'EjsS Simulation Monitor Assignment'
/Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10//softdatadir/localcache/mustache/1663401169/boost/__Mustache_be23f4d7e6bc1045b626b2f46112666e.php:182: $buffer .= $indent . ' <span>EjsS Simulation Monitor Assignment</span>
/Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10//softdatadir/localcache/mustache/1663062853/boost/__Mustache_7a40f4a9d299706a2774fd5e1d089dcd.php:182: $buffer .= $indent . ' <span>EjsS Simulation Monitor Assignment</span>
/Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10//mod/laejss/templates/lti_report.mustache:113: <span>EjsS Simulation Monitor Assignment</span>
lookang@Opens-MacBook-Pro moodle30.542_61559.2023-06-16_10-07-10 %
the output suggests the word "EjsS Simulation Monitor Assignment" is in the file located here /Users/lookang/Desktop/moodle30.542_61559.2023-06-16_10-07-10//mod/laejss/templates/lti_report.mustache:113:
login to your cpanel
use file manager and navigate there and locate and edit to you own specification.
test it on https://vle.dev.sls.ufinity.com/assignment/view/c5800832-6a32-47e0-a94b-8861b3715031/page/890848992
No comments:
Post a Comment