dc dotCreds
Reference guide

LFCS Course Notes

Study LFCS section notes, then jump straight into the guided course or related practice questions without losing your place.

Continue Course Start Practice
Checking access

Checking Pro access...

Looking for your active Pro access before showing Course Notes. This usually takes just a moment.

Course Notes preview

Unlock Pro for the full per-exam reference guide.

Preview one piece from each section. Pro includes every Course Notes section, summary, key point, common mistake, exam tip, related-question review, and PDF export.

Includes full Course Mode and Course Notes.

Section 1 System Deployment Preview
More in this section
  • Full summary in Pro version
  • 13 more key points in Pro version
  • 2 more common mistakes in Pro version
  • 2 more exam tips in Pro version
  • 40 more related questions in Pro version

Summary

Runtime kernel tuning starts with sysctl. Use sysctl to inspect or change kernel parameters while the system is running, and recognize that the same tunables appear under /proc/sys as writable kernel interfaces. A change made directly under /proc/sys or with sysctl -w affects the running kernel immediately but does not survive reboot unless it is written to persistent sysctl configuration.

Key Points

  • sysctl: A command and configuration mechanism for reading and changing Linux kernel parameters at runtime.

Common Mistakes

  • Changing a sysctl value at runtime does not make it persistent after reboot unless it is written to sysctl configuration.

Exam Tips

  • If the task says after reboot, look for persistent config or systemctl enable rather than only a runtime command.
Section 2 Network Configuration Preview
More in this section
  • Full summary in Pro version
  • 13 more key points in Pro version
  • 2 more common mistakes in Pro version
  • 2 more exam tips in Pro version
  • 33 more related questions in Pro version

Summary

Interface addressing begins with ip address show. Use the broad form to inspect all configured addresses, and add dev when the task asks for one interface only. The command reports IPv4 and IPv6 addresses, link state, and interface names, which makes it the starting point before changing routes or services.

Key Points

  • ip address: The iproute2 command area used to view or manage IP addresses assigned to network interfaces.

Common Mistakes

  • Do not mix server-side sshd_config settings with client-side ssh_config Host settings.

Exam Tips

  • If one interface is named, use ip address show dev rather than inspecting every interface.
Section 3 Data Management Preview
More in this section
  • Full summary in Pro version
  • 12 more key points in Pro version
  • 2 more common mistakes in Pro version
  • 2 more exam tips in Pro version
  • 27 more related questions in Pro version

Summary

LVM starts with physical volumes. pvcreate marks a block device for LVM use, vgcreate combines one or more physical volumes into a volume group, and lvcreate allocates logical volumes from that group. The exam often checks the order of those commands because each layer depends on the previous one.

Key Points

  • physical volume: A block device initialized for use by LVM as the lowest storage layer.

Common Mistakes

  • pvcreate, vgcreate, and lvcreate happen in that order because LVM layers depend on each other.

Exam Tips

  • If the task asks for persistent mounts, edit /etc/fstab; if it asks for now, use mount or umount.
Section 4 Fundamentals Preview
More in this section
  • Full summary in Pro version
  • 15 more key points in Pro version
  • 2 more common mistakes in Pro version
  • 2 more exam tips in Pro version
  • 35 more related questions in Pro version

Summary

Git tasks on LFCS usually test basic repository handling rather than advanced branching. git clone copies a repository, git status shows tracked and untracked changes, and git commit records staged changes with a message. If a task asks whether work is ready to commit, status is the safer command before committing.

Key Points

  • Git: A distributed version control system used to clone repositories, inspect changes, and commit recorded work.

Common Mistakes

  • Use du for file-tree usage and df for filesystem capacity; they answer different disk questions.

Exam Tips

  • If unmounting fails, lsof can identify processes holding files open.
Section 5 Advanced Commands Preview
More in this section
  • Full summary in Pro version
  • 11 more key points in Pro version
  • 2 more common mistakes in Pro version
  • 2 more exam tips in Pro version
  • 10 more related questions in Pro version

Summary

grep searches text using patterns, and LFCS tasks often include regular expression details. A regex can match character classes, anchors, or repeated text, while carriage-return characters from Windows-style files can make output look correct but fail a pattern. If a line ends with CRLF, account for the carriage return or normalize the file before matching.

Key Points

  • grep: A command that searches text input or files for lines matching a literal string or regular expression.

Common Mistakes

  • setuid on an executable and the sticky bit on a shared directory solve different permission problems.

Exam Tips

  • If grep fails on copied text, consider hidden carriage returns or CRLF line endings.