Write a shell script at /home/user/scripts/inventory artifacts.sh that scans the /home/user/mlops…
Write a shell script at /home/user/scripts/inventory artifacts.sh that scans the /home/user/mlops…: a task in repo2rlenv-endless-terminals (Harbor dataset). Requirements: 1. The script must be executable (chmod +x). 2. The script must create the /home/user/logs/ directory if it does not exist. 3…
The task
Requirements: 1. The script must be executable (chmod +x). 2. The script must create the /home/user/logs/ directory if it does not exist. 3. The script must overwrite /home/user/logs/artifact_inventory.log each time it runs (not append). 4. The script must scan /home/user/mlops_experiments for subdirectories matching…