LPIC-1 101-500 Exam · Objective 103.1

Saving command output in a variable

103.1Basic

uname -r prints the running kernel release string.

Save that output in LAB_KERNEL.

Which command is appropriate?

Saving command output in a variable · Answer choices
Question IDKP-103-019
EnvironmentBash 5.2 / GNU coreutils uname. Compare the host-dependent release rather than assuming a fixed string. Output capture was reproduced with Bash 5.2.37 / GNU coreutils 8.32 in Git Bash.
Last technical review2026-11-01
Report an error or rights issue
Progress and questions

Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.