LFCE key terms
LFCE · Get comfortable with the vocabulary.
- systemd unit
- Related: target, service unit, journalctl
A configuration file that describes how systemd manages a resource such as a service, mount, timer, or socket. Units declare dependencies, start commands, and restart behavior, replacing much of the older SysV init script logic.
- target
- Related: systemd unit, service unit
A systemd unit that groups other units to represent a system state, such as multi-user or graphical login. Targets replace traditional runlevels and are reached by starting all units they require.
- service unit
- Related: systemd unit, target, journalctl
A systemd unit with a .service suffix that controls a daemon or one-shot process. Its [Service] section defines ExecStart, Type, Restart, and User settings that determine how the process runs and recovers.
- journalctl
- Related: systemd unit, rsyslog, logrotate
The command-line client for reading the systemd journal. It filters entries by unit, priority, time range, or boot, and supports persistent versus volatile storage plus output formats such as JSON for automation.
- rsyslog
- Related: journalctl, logrotate
A syslog daemon that receives, filters, and forwards log messages according to rule files. It can write to local files, send to remote collectors over TCP or TLS, and complement or replace the systemd journal.
- logrotate
- Related: rsyslog, journalctl
A utility run by a timer that rotates, compresses, and deletes log files according to configuration stanzas. It supports size or time triggers, postrotate scripts, and copytruncate for processes that keep files open.
- cron
- Related: systemd timer, at
A time-based job scheduler that runs commands from user and system crontabs using five time fields. Related directories such as cron.d and cron.hourly let packages install jobs without editing per-user crontabs.
- systemd timer
- Related: cron, systemd unit
A systemd unit pair that schedules activation of another unit. Timers support monotonic and calendar expressions, persistence across downtime, and randomized delays, and they integrate with journal logging.
- PAM
- Related: sudoers, LDAP
Pluggable Authentication Modules, a framework where stacked shared libraries handle authentication, account checks, password changes, and sessions. Configuration files under /etc/pam.d define the stack order and control flags for each service.
- sudoers
- Related: PAM, capability
The configuration file defining which users or groups may run which commands as which accounts. It is edited with visudo to catch syntax errors and supports aliases, defaults, and passwordless rules.
- IP address
- Related: CIDR notation, routing table, network namespace
A numeric label assigned to a network interface for addressing and routing. IPv4 uses 32 bits and IPv6 uses 128 bits, and each address is paired with a prefix length that defines the local subnet.
- CIDR notation
- Related: IP address, routing table
A compact way to express an address plus its network prefix, such as 192.0.2.0/24. The suffix counts network bits, so it determines the subnet mask, the host range, and how many addresses the subnet contains.
- routing table
- Related: IP address, CIDR notation, policy routing
The kernel's list of rules that decide which interface and next hop carry a packet. Longest-prefix match wins, and each entry records destination, gateway, device, and metric.
- policy routing
- Related: routing table, firewalld
A Linux feature that selects routing tables by rules beyond destination address, such as source address, firewall mark, or incoming interface. Rules are managed with ip rule and tables with ip route.
- network namespace
- Related: veth pair, bridge, IP address
An isolated copy of the kernel networking stack with its own interfaces, addresses, routes, and firewall rules. Namespaces underpin containers and are linked to the host with veth pairs and bridges.
- veth pair
- Related: network namespace, bridge
A virtual Ethernet cable made of two linked interfaces. A packet sent into one end emerges from the other, which makes veth pairs the standard way to connect a network namespace to a host bridge.
- bridge
- Related: veth pair, network namespace, VLAN
A software switch that forwards frames between attached interfaces at layer two. Linux bridges connect virtual machines and namespaces to each other and to a physical uplink, often with an IP address on the bridge itself.
- VLAN
- Related: bridge, firewalld
A method of splitting one physical link into logically separate layer-two networks using 802.1Q tags. Linux creates VLAN subinterfaces on a parent device and tags or strips frames as they pass.
- firewalld
- Related: nftables, policy routing, VLAN
A dynamic firewall manager that organizes rules into zones tied to interfaces or sources. It applies nftables or iptables rules at runtime and can reload persistent configuration without dropping existing connections.
- nftables
- Related: firewalld, conntrack
The modern Linux packet-filtering framework that replaces iptables. It uses tables, chains, and rules in a single language, supports sets and maps, and applies changes atomically.
- conntrack
- Related: nftables, firewalld
The kernel connection-tracking subsystem that records the state of flows so firewalls can match on established, related, or new traffic. Tools such as conntrack inspect and clear entries, and table sizes are tunable.
- LVM
- Related: physical volume, volume group, thin provisioning
Logical Volume Manager, a layer that pools physical disks into volume groups and carves flexible logical volumes from them. It supports resizing, snapshots, and moving data between physical volumes while mounted.
- physical volume
- Related: LVM, volume group
A block device or partition initialized for use by LVM, holding a metadata header and extents. Physical volumes are added to a volume group, which then allocates their extents to logical volumes.
- volume group
- Related: LVM, physical volume, thin provisioning
The LVM storage pool formed by one or more physical volumes. It divides its space into fixed-size extents and allocates them to logical volumes, which can be grown or shrunk within available space.
- thin provisioning
- Related: LVM, volume group
An allocation model where storage is reported as larger than the space physically committed. Blocks are assigned on first write, so overcommit requires monitoring of the pool and careful sizing to avoid running out.
- fstab
- Related: mount unit, NFS
The file /etc/fstab lists filesystems to mount at boot, with device, mount point, type, options, and dump and fsck order. Errors here can block boot, so UUIDs and the nofail option are common safeguards.
- mount unit
- Related: fstab, systemd unit
A systemd unit generated from or written for a mount point, named after the escaped path. It expresses mount dependencies and options so systemd can order mounts against other units during boot.
- NFS
- Related: fstab, autofs
Network File System, a protocol for sharing directories over a network so clients mount them as local filesystems. Exports are defined on the server and access is controlled by host, subnet, or Kerberos.
- autofs
- Related: NFS, fstab
An on-demand automounter that mounts filesystems when a path is accessed and unmounts them after idle time. Map files define mount points, and it is often used for home directories and NFS shares.
- iSCSI
- Related: LVM, device mapper
A protocol that carries SCSI commands over TCP, letting a host attach remote block storage as a local disk. An initiator logs in to a target, and multipath tools provide redundancy across sessions.
- device mapper
- Related: LVM, LUKS, iSCSI
A kernel framework that presents virtual block devices built from mappings over other devices. It underlies LVM, dm-crypt, multipath, and snapshots, with each mapping configured through the dmsetup tool or higher-level tools.
- LUKS
- Related: device mapper, SELinux
The standard Linux disk-encryption format layered on dm-crypt. It stores keyslots and metadata in a header, supports multiple passphrases, and is managed with cryptsetup for opening, closing, and rekeying volumes.
- SELinux
- Related: AppArmor, LUKS, capability
A mandatory access control system that labels processes and files and enforces policy between them. Modes include enforcing, permissive, and disabled, and denials are diagnosed from audit logs with tools such as ausearch.
- AppArmor
- Related: SELinux, capability
A mandatory access control system that confines programs using per-path profiles rather than inode labels. Profiles can run in complain or enforce mode, and changes are loaded with apparmor_parser.
- capability
- Related: SELinux, sudoers, systemd unit
A fine-grained privilege split from the all-powerful root account, such as binding low ports or changing ownership. Capabilities can be set on executables or dropped from services to limit damage from compromise.
- TLS certificate
- Related: OpenSSL, SSH key
A signed public-key document that binds an identity to a key and is validated by a client against trusted authorities. Servers present certificates during handshakes, and expiry or name mismatch causes verification failures.
- OpenSSL
- Related: TLS certificate, SSH key
A toolkit and library implementing TLS and cryptography. Its command line creates keys and certificate signing requests, inspects chains and expiry, verifies handshakes, and converts between PEM and DER formats.
- SSH key
- Related: TLS certificate, PAM
An asymmetric key pair used for passwordless SSH authentication, where the public half is placed in authorized_keys. Permissions on private keys and directories are strict, and passphrases protect keys at rest.
- strace
- Related: lsof, tcpdump
A diagnostic tool that traces system calls and signals made by a process. It reveals which files, sockets, and devices a program touches, making it useful for permission errors and hangs.
- lsof
- Related: strace, ss
A tool that lists open files, sockets, and devices with the owning process. It answers which process holds a port, a deleted file, or a mount busy, and supports filtering by user, PID, or path.
- tcpdump
- Related: ss, strace
A packet capture utility that filters traffic with BPF expressions and writes pcap files for later analysis. It is used to confirm whether packets reach an interface and to inspect protocol exchanges.
- ss
- Related: lsof, tcpdump
A socket statistics tool that shows listening and established connections with addresses, ports, and process owners. Options filter by TCP state or protocol, replacing the older netstat command.
- Ansible playbook
- Related: idempotence, Ansible role
A YAML file describing desired state as ordered tasks run against inventory hosts. Tasks call modules, support handlers and variables, and are designed to be idempotent so repeated runs converge without side effects.
- Ansible role
- Related: Ansible playbook, idempotence
A reusable bundle of tasks, handlers, defaults, templates, and files with a fixed directory layout. Roles let playbooks share configuration logic across projects and are pulled in by name.
- idempotence
- Related: Ansible playbook, Ansible role
The property that running an operation repeatedly yields the same end state without duplicating changes. Configuration management modules aim for it, and it is verified by rerunning a playbook and expecting no changes.