Working on the command line · Question 10 of 12

What does echo -e 'a\tb' print in bash?

1 answer is correct. Medium Created with AI

Show answer

Answer

  • C a and b, separated by a tab

Explanation

-e turns on interpretation of escape sequences such as \t and \n. Without -e, bash's echo prints a\tb unchanged.

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