🔥 3-day streak
CompTIA Linux+ (XK0-006)17 / 123
Question 17 of 123

You are writing a provisioning script that must create an application config file. The file needs to embed the value of the shell variable $APP_PORT while writing multiple lines to /etc/myapp/app.conf in a single command. Which construct correctly writes the block, with variable expansion, to the file?

Reviewed for accuracy · Report an issueNext question