Based on the Linux Master 1 exam syllabusReport an error
start/mount/at versus enable/fstab/crontab.chmod 755=rwxr-xr-x.-r.-R.xfs_growfs.enable --now : The systemctl option that does autostart registration (enable) and immediate start (start) at once.Click a choice to reveal the answer and explanation.
Question 1
Which command changes, in one go, the permissions of all files and directories under the directory /project to rwxr-xr-x?
Question 2
Which command correctly finds only regular files larger than 100MB under the /data directory?
Question 3
Which command sends SIGHUP so that a daemon re-reads its configuration file without restarting?
Question 4
What is the absolute path of the file that stores a user account's UID, home directory, and login shell information?
Question 5
What does the 6th field of /etc/fstab mean, and what value goes in for the root filesystem?
Question 6
You want to format the new partition /dev/sdc1 as xfs and then mount it on /srv. Which is the correct format command?
Question 7
Which command adds the new physical volume /dev/sdd to the volume group vg01 in LVM to increase capacity?
Question 8
After growing a logical volume with lvextend, which command extends the actual capacity of the ext4 filesystem?
Question 9
What is the permission of a newly created directory when the umask value is 077?
Question 10
Which command sets up a shared directory like /tmp so that anyone can create files but can delete only the files they created?
Question 11
Which entry registers /backup.sh in crontab to run every Sunday at 4 AM?
Question 12
Which command starts the httpd service immediately and, at the same time, registers it to start automatically at boot, all in one go?
We regroup the points that most often cause confusion in this week's 12 questions.
| Point of confusion | Accurate summary |
|---|---|
| Recursive option | chmod/chown use uppercase -R; grep recursion is -r/-R |
| nice priority | Lower value means higher priority (positive values yield) |
| kill signals | 9=forced, 15=graceful (default), 1=HUP (reload) |
| Number of file fields | passwd 7 / shadow 9 / group 4 / fstab 6 |
| fstab fields 5 and 6 | 5=dump backup, 6=fsck order (root 1) |
| Four disk steps | fdisk → mkfs → mount → fstab |
| LVM create/extend | pv→vg→lv to create / vgextend→lvextend→resize2fs to extend |
| umask calculation | File 666-umask, directory 777-umask |
| Special permission octals | SetUID 4, SetGID 2, Sticky 1 (leading digit) |
| start vs enable | start=now, enable=start at boot (separate) |
| at vs cron | at=one-time, cron=recurring |
| daemon-reload | Always run after editing a unit file |
💡 Wrap-up: Half of the task-style questions turn on separating "works now" from "permanent setting". If the scenario contains "even after boot", "even after a reboot", or "periodically", pick a persistence command such as
enable,/etc/fstab,crontab, orsysctl -p. Conversely, for "now" or "once", it isstart,mount, orat.
⚠️ Trap roundup: ① The owner:group separator in
chownis the colon (:). ②grep -vselects lines that do not match. ③find -mtime +7means older than 7 days. ④ If you skipresize2fs/xfs_growfsafter extending an LV, the capacity is not reflected. ⑤ Forgettingdaemon-reloadafter editing a unit file. These five are the regular point-loss spots in the practical exam.
If you got any questions wrong, go back to the Day matching the question number - questions 1 and 2 are Day 1 (command options), 4 and 5 are Day 2 (configuration files), 6 to 10 are Day 3 (disk, LVM, permissions), and 11 and 12 are Day 4 (process, systemd). Rewrite the tables by hand and repeat until the commands, options, and paths come out automatically, and the system task section of the second-round practical exam is well within your reach.