Shell environment · Question 7 of 12

How do you add /opt/tools/bin to PATH without losing the existing entries?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D PATH=$PATH:/opt/tools/bin

Explanation

$PATH inserts the previous content, the colon separates the entries. The name to the left of the equals sign is written without $.

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