




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































(Questions 1–45)
A) uname - r B) uname - a C) Both A and B D) kernel --version Answer: C Rationale: uname - r shows only kernel release; uname - a shows all system info including kernel version.
apt Rationale: rpm - qa (query all) lists all installed RPM packages; - qi information, - ql list files, - qf query file.
apt B) rpm - qa C) rpm - ql D) rpm - qf Answer: A Rationale: rpm - qi (query info) shows package description, version, architecture, installation date.
D) /etc/pacman.d/ Answer: B Rationale: Red Hat-based systems use .repo files in /etc/yum.repos.d/.
Rationale: C) aptitude D) All of the above Answer: D Debian uses metapackages (e.g., apt install ubuntu-desktop) or tasksel.
Rationale:
Rationale: Answer: D Rationale: apt autoremove removes packages installed as dependencies but no longer needed.
Answer
Answer D) grub-install Answer: C Rationale: update-grub is a wrapper for grub-mkconfig - o /boot/grub/grub.cfg.
Answer install-grub /dev/sda : C Rationale: grub-install (Debian) or grub2-install (RHEL) installs GRUB to boot device.
Answer Rationale: systemctl set-default multi-user.target changes default; init 3 works for SysV compatibility.
Answer A) /bin B) /etc C) /home D) /var Answer: B Rationale: /etc stores configuration files (passwd, ssh, network, etc.).