Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
CompTIA Server+ · CompTIA
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The correct option that will map a script to a home directory for a user based on the username is: B. \\server\%username% In this option, `%username%` is a variable that will be replaced with the actual username of the user. This allows for dynamic mapping based on the logged-in user's username. ~ChatGPT 4.0
% are used for variables in Microsoft. $ are Linux/Unix
Yeah this question is horrid, because syntax is dependant upon the type of shell you are using/language. so multiple possible answers? I thought $ is for Linux as well. This is one of the worst CompTIA questions I've ever seen.