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 $.