Timedora
Free Online Flashcard Deck

Linux Troubleshooting and System Administration Free Online Flashcards

Study Linux Troubleshooting and System Administration with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

Which commands check filesystem space and inode use?

Back

df -h reports filesystem space; df -i reports inode use. A filesystem can run out of inodes and prevent file creation even when disk space remains.

02
Front

How should you use administrator privileges for a system-wide change?

Back

Use sudo for the specific command that needs administrator privileges instead of working as root unnecessarily.

03
Front

What does kill PID do by default, and what should you verify first?

Back

kill PID sends SIGTERM by default, allowing the process to shut down cleanly. Confirm the PID belongs to the intended process before acting.

04
Front

How can you show current-boot journal errors and more severe messages?

Back

On systemd systems, journalctl -b -p err shows errors and more severe priorities from the current boot.

05
Front

Which systemctl operation checks a service's state?

Back

On systemd systems, systemctl status helps determine whether a service is active and may show recent related messages.

06
Front

On Debian- and Ubuntu-based systems, what should precede apt upgrade?

Back

On Debian- and Ubuntu-based systems, run apt update to refresh package metadata before upgrading with apt upgrade.

07
Front

What should you do before confirming a package transaction?

Back

Review the proposed package transaction before confirming it, especially when removing software or upgrading a production system.

08
Front

What is the safer alternative to working as root unnecessarily?

Back

Use sudo for the specific command that requires administrator privileges rather than working as root unnecessarily.

09
Front

What does systemctl enable --now do?

Back

On systemd systems, systemctl enable configures a service to start at boot; adding --now also starts it immediately.

10
Front

How do ps and top differ when inspecting processes?

Back

Use ps for a process snapshot and top for a live view.

11
Front

What should guide the first steps in routine Linux troubleshooting?

Back

Check service state, inspect recent logs, and examine resources before changing configuration. Gather evidence, then make a targeted change.

12
Front

How do you follow a service's new journal entries live?

Back

Use journalctl -u SERVICE -f to follow new entries for a service while reproducing a problem. Press Ctrl-C to stop following.