WGU C851 Linux Foundations Questions
and Correct Answers. Newest 2026-2027
Rated A
-u - AnsA parameter of the usermod command that changes the account's
UID number to the specified value.
-U - AnsAn option of the usermod command that unlocks a locked account
password.
? - AnsMatches with zero or one occurrence of a character
() - AnsUsed to surround subexpressions and specify how operators should
be applied
[] - AnsMatch any one character enclosed within it
/ - AnsThe root directory. All files appear in this directory or in
subdirectories of it.
/bin - AnsHolds program files that are critical for normal operation and that
ordinary users may run.
/boot - AnsHolds important boot files, such as the Linux kernel, the initial
RAM disk, and often boot-loader configuration files.
1
,/dev - AnsHolds device files, which provide low-level access to hardware.
/etc - AnsHolds system configuration files.
/etc/passwd - AnsA colon-separated file that contains details about users,
such as username, UID, password, and GID.
/home - AnsHolds users' home directories. Separating this directory into its
own low-level filesystem effectively isolates most user data from the OS,
which can be useful if you want to reinstall the OS without losing user data.
/lib - AnsHolds libraries—code used by many other programs—that are
critical for basic system operation.
/media - AnsThe new mount point for removable media; typically split into
subdirectories for each mounted filesystem.
/mnt - AnsThe traditional mount point for removable media; sometimes split
into subdirectories for each mounted filesystem.
/root - AnsThe root user's home directory.
/run - AnsHolds information about the running system.
/sbin - AnsHolds program files that are critical for normal operation and that
ordinary users seldom run.
2
, /tmp - AnsHolds temporary files, often including temporary files created by
user programs. Such files may theoretically be deleted when the computer
reboots, although in practice many distributions don't do this.
/usr - AnsHolds programs and data that are used in normal system
operation but are not critical for a bare-bones boot of the system. This
directory is split into subdirectories that mirror parts of the root organization
—/usr/bin, /usr/sbin, /usr/lib, and so on.
/usr/bin - Ansstores various executable not needed for booting or repairing
the Linux system?
/var - AnsHolds miscellaneous transient files, such as log files and print
spool files. One subdirectory of /var, /var/tmp, deserves special mention.
Like /tmp (described next), /var/tmp holds temporary files. These files
should not be deleted when the computer reboots.
\ - AnsUsed to match special characters
&> - AnsWrites standard output and standard error to a file; the file is
overwritten if it already exists
+ - AnsMatches with one or more occurrences of a character
< > - AnsWrites both standard input and standard output to a specified file
3
and Correct Answers. Newest 2026-2027
Rated A
-u - AnsA parameter of the usermod command that changes the account's
UID number to the specified value.
-U - AnsAn option of the usermod command that unlocks a locked account
password.
? - AnsMatches with zero or one occurrence of a character
() - AnsUsed to surround subexpressions and specify how operators should
be applied
[] - AnsMatch any one character enclosed within it
/ - AnsThe root directory. All files appear in this directory or in
subdirectories of it.
/bin - AnsHolds program files that are critical for normal operation and that
ordinary users may run.
/boot - AnsHolds important boot files, such as the Linux kernel, the initial
RAM disk, and often boot-loader configuration files.
1
,/dev - AnsHolds device files, which provide low-level access to hardware.
/etc - AnsHolds system configuration files.
/etc/passwd - AnsA colon-separated file that contains details about users,
such as username, UID, password, and GID.
/home - AnsHolds users' home directories. Separating this directory into its
own low-level filesystem effectively isolates most user data from the OS,
which can be useful if you want to reinstall the OS without losing user data.
/lib - AnsHolds libraries—code used by many other programs—that are
critical for basic system operation.
/media - AnsThe new mount point for removable media; typically split into
subdirectories for each mounted filesystem.
/mnt - AnsThe traditional mount point for removable media; sometimes split
into subdirectories for each mounted filesystem.
/root - AnsThe root user's home directory.
/run - AnsHolds information about the running system.
/sbin - AnsHolds program files that are critical for normal operation and that
ordinary users seldom run.
2
, /tmp - AnsHolds temporary files, often including temporary files created by
user programs. Such files may theoretically be deleted when the computer
reboots, although in practice many distributions don't do this.
/usr - AnsHolds programs and data that are used in normal system
operation but are not critical for a bare-bones boot of the system. This
directory is split into subdirectories that mirror parts of the root organization
—/usr/bin, /usr/sbin, /usr/lib, and so on.
/usr/bin - Ansstores various executable not needed for booting or repairing
the Linux system?
/var - AnsHolds miscellaneous transient files, such as log files and print
spool files. One subdirectory of /var, /var/tmp, deserves special mention.
Like /tmp (described next), /var/tmp holds temporary files. These files
should not be deleted when the computer reboots.
\ - AnsUsed to match special characters
&> - AnsWrites standard output and standard error to a file; the file is
overwritten if it already exists
+ - AnsMatches with one or more occurrences of a character
< > - AnsWrites both standard input and standard output to a specified file
3