Working on the command line · Question 7 of 12

In which notation does bash NOT replace $HOME with the path of the home directory?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • A In single quotes: '$HOME'

Explanation

Single quotes protect every character. Inside double quotes, $, backticks and \ are still evaluated.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications