LPIC-1 • Practice Test 6
Free LPIC-1 practice test — 10 questions with explanations. Set 6. No signup required.
A senior administrator runs a script that processes a CSV file. The script contains the following snippet: 'for field in $(cat data.csv); do ...'. The data.csv file contains lines like: 'John Doe, 123 Main St, Springfield'. The script fails to process correctly, splitting fields incorrectly and causing errors. Which of the following is the most appropriate fix?
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.