Linux

System Config, Time & Hardware

85 flashcards · answers and spaced-repetition review in the KnowCard app

On Debian or Ubuntu you need a different keyboard layout — which file holds it, and why is editing that file directly the wrong first move?
During install you want to name the machine but pick localhost — why is that the one hostname to never choose?
A distro ships with its default firewall on and you set up an SSH server — clients still can't reach it. What is the firewall doing and what fixes it?
Which boot loader does nearly every Linux distribution install by default, and where does it typically go?
Coming from Windows, an admin reflexively reboots after editing a config file. When is a reboot actually required on Linux, and what do you do instead?
Where do almost all Linux configuration files live, and how are the files of larger programs kept from cluttering that directory?
You want every change to /etc tracked and individually restorable. What tool automates that, and how often does it capture state?
On Arch, Fedora, or RHEL, where is the text-console keymap and font configured, and what command manages keymaps?
Two files saved at different local clock times in different cities — how does Linux still know which one is newer?
What does timedatectl set-timezone actually change under the hood — does it edit a config value or something else?
Beyond the systemd default, what are the main options for keeping the clock synced over NTP, and how do they differ?
On Fedora/RHEL/SUSE the default time-sync tool is Chrony — what are its two components and how do you inspect its sources?
You want German date formats but English error messages on the same login. Which mechanism makes that split possible?
You set LANG for the whole system but one program still ignores it — what variable outranks LANG, and where can it NOT be stored?
What command sets the system-wide default locale, and how do you find out which locales are even available first?
A mount error appears in your local language and you want to search the web in English — how do you get one command's messages in English without touching global config?
Automatic loading of a hardware driver module isn't working — which commands inspect modules, and where does their config live?
You're on an unfamiliar machine and need a fast inventory of block devices, CPU, PCI, and USB hardware. Which ls-style commands cover each, and what gives one full summary?
A 6-core CPU shows up as more than 6 entries in /proc/cpuinfo — why, and what does that file report?
ACPI offers standby/suspend and hibernate — what's the concrete difference in what stays powered, and what does hibernate require to work?
When you plug in a USB stick, which subsystems cooperate to make it usable, and what is each responsible for?
What is the correct bluetoothctl sequence to pair and start using a new device, and which identifier ties the later steps together?
Which subsystem controls sound cards at the kernel level, how do you spot its modules, and which commands play, record, and mix?
On an Intel laptop, which CPU governor is the default and which trades battery for speed, and where is the governor read/written?
To make a laptop quieter and longer-running you want to disable Intel turbo boost — what exactly do you write, and where?
You install lm-sensors but the sensors command shows nothing useful yet — what one-time step is missing?
powertop lets you toggle power-saving settings from its Tunables page — what's the catch about those changes across a reboot?
TLP promises battery savings just by installing it — how does it achieve that, and why must you not run it alongside powertop --auto-tune?
A ThinkPad stays plugged in most of the day and its battery degrades — which TLP settings limit charging to protect battery life?
Cockpit is a browser-based admin tool — does deploying it mean you also have to stand up Apache or NGINX?
You run systemctl enable --now cockpit and it doesn't start. What's the required unit name, and what port does Cockpit then serve on?
Your browser warns that Cockpit's connection is insecure — what causes it and how do you replace it with a trusted certificate?
On Pop!_OS you can switch between Intel and NVIDIA graphics from the system menu — why does that switch need a reboot, and what command does the same without the GUI?
What is a device file, and which three pieces of information characterize a device?
Running ls -l /dev/sda1 shows a b where a file size normally sits — what does that tell you, and how do block and character devices differ?
Entries in /dev aren't ordinary files — what are they really, and what normally creates them instead of mknod?
Early in boot, before the full udev system is running, what maps /dev so device files already exist?
What do /dev/null, /dev/zero, and /dev/urandom each provide?
Which /dev name points to an NVMe SSD versus a SATA disk, an LVM/crypto container, or a RAID array?
Among /dev/tty*, /dev/ttyS*, and /dev/pts/*, which is a serial port and which is a Unix-98 pseudo-terminal?
Why bother editing Linux config files by hand when GUI configuration tools exist?
You edit a config file, the content looks right, yet a program still misreads it — what easily-missed detail about the last line matters?
With systemd, which command lists and sets the text-console keyboard layout, and what else does it try to configure?
Why can a text-console font display only a sliver of Unicode, and where is the console font configured across distributions?
At startup Linux reads one clock first and may correct it later — what is that first clock called, and which command reads it?
What does plain timedatectl (no arguments) report about the system clock?
On Debian/Ubuntu the time zone is also named in /etc/timezone — does glibc read that file?
Before running ntpdate or setting the clock by hand, which kinds of services should you stop first, and why?
‘Localization’ and ‘character set’ are two separate settings — what does each control, and what do i18n and l10n stand for?
How many bytes does UTF-8 use per character, and how does it compare with ASCII and ISO-Latin?
An emoji shows as a blank box even though your locale and character set are fine — what is usually to blame?
Which localization variable outranks even LC_ALL, and how do you make it prefer German but fall back to French?
A minimal cloud VM prints ‘Cannot set LC_ALL to default locale’ — what causes it and how do you fix it per distro?
A newly plugged device isn't working — which command shows the kernel's module-loading and hardware-init messages?
Which single tool prints a colorized one-screen hardware summary, and what do its -A, -G, -E, and -F options add?
Beyond free for available memory, which command shows how the memory is internally organized?
You suspect a bad RAM module — which tool tests it, and how can you launch it without booting the OS?
Where do serial and parallel ports show up as device files on Linux, and where are you still likely to meet them?
You need a detailed inventory of every USB device, and later a stuck USB device needs a nudge without unplugging. Which two commands help?
Below the desktop's Bluetooth GUI, which daemon and config location actually run the stack, and how do you list controllers vs nearby devices from bluetoothctl?
In the hotplug chain, what is DeviceKit and which package handles disks versus power management?
What role does D-Bus play in the hotplug system, and when is dbus-daemon needed versus a direct library call?
Why is Thunderbolt treated as a security risk on Linux, and how do you authorize a device from the command line?
Which files configure ALSA, and what command saves and restores your volume levels across a reboot?
Speakers stay silent even though the hardware is fine — what's the usual cause, and how do you fix and then verify it from a text console?
Why do most audio programs sit on a framework above ALSA rather than using ALSA directly, and what do GNOME and KDE each use?
What is replacing PulseAudio as the Linux sound server, and what concrete advantages does it bring?
nproc reports 12 on a 6-core laptop — why the mismatch, and how do you find the real core count?
How do you read each core's live clock frequency, and which tool gives full frequency limits and governor details?
What three CPU/graphics tweaks give the biggest notebook battery gains on Linux?
Why does normal Linux package management not cover BIOS/EFI or Wi-Fi firmware updates, and what initiative fills that gap?
An EFI firmware update can leave a machine unbootable — what two conditions must hold for fwupd to apply one safely?
SMART promises early warning before a disk dies — how much should you actually trust it?
smartctl -i says 'SMART support is: Disabled' — how do you turn it on, and which drives does smartctl often fail on?
Which smartctl command gives a quick pass/fail health verdict, and what does a non-PASSED result demand you do right now?
In smartctl -A output, which columns tell you a disk is in trouble, and what's the difference between a Pre-fail and an Old_age line?
How do you launch a SMART self-test and read its result, and how do you tell the test is still running?
Why does smartctl output look so different on a modern NVMe SSD, and what number actually reflects an SSD's remaining life?
smartctl is too clunky to poll every disk continuously — what monitors them automatically, and what's the one setting Debian/Ubuntu users must not forget?
powertop --auto-tune sounds like a one-shot fix — what are its two big caveats, and how do you instead get a list of every tuning command?
After installing TLP, how do you activate it without rebooting and check whether it's actually running?
Charge thresholds can confuse a laptop's battery gauge, and sometimes you need a full charge before a trip. Which two TLP commands cover these?
On a supported Lenovo, what must be enabled before thinkfan can touch the fan, how is it configured, and how do you test it safely before making it permanent?
In /etc/chrony.conf, what is the difference between a pool line and a server line?
Which daemon and command implement LVFS firmware updates, and what's the typical fwupdmgr workflow?

Start learning today

Free to start — download the app or use it in your browser.

Get it on App StoreGet it on Google Play
System Config, Time & Hardware (Linux) · KnowCard