Hands-on task
This task is step 1 of the course “Clean scripts: shellcheck”
Find the shellcheck warning code
/root/greet.sh holds a script for which shellcheck produces exactly one warning. Run the linter and write the code of this warning (of the form SCxxxx) to the file /root/code.txt.
What you'll practise:
- shellcheck
- linter
- SCxxxx codes
- grep -o