Task: Using Variables Inside a Bash Heredoc
Task: Using Variables Inside a Bash Heredoc: a task in Terminal-Lego-15k (Harbor dataset). You need to create a bash script that correctly interpolates variables inside a heredoc while writing to a file that requires sudo permissions.
The task
You need to create a bash script that correctly interpolates variables inside a heredoc while writing to a file that requires sudo permissions.
Part of PrimeIntellect/Terminal-Lego-15k.