Working on the command line · Question 8 of 12

What does the backslash do in echo \$HOME?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D It removes the special meaning of the next character, so $HOME is printed

Explanation

The backslash escapes exactly one character. At the end of a line it escapes the newline and continues the command.

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