101-500試験無料問題集「Lpi LPIC-1 Exam 101, Part 1 of 2, version 5.0 認定」

Creating a hard link to an ordinary file returns an error. What could be the reason for this?

解説: (GoShiken メンバーにのみ表示されます)
When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

解説: (GoShiken メンバーにのみ表示されます)
Which parameter of the ssh command specifies the location of the private key used lor login attempts?
(Specify ONLY the option name without any values or parameters)
正解:
ssh-key
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

解説: (GoShiken メンバーにのみ表示されます)
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

解説: (GoShiken メンバーにのみ表示されます)
Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?

解説: (GoShiken メンバーにのみ表示されます)
What command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the command name only without any path.)
正解:
ssh-add
Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)

解説: (GoShiken メンバーにのみ表示されます)
The /etc/_______ file lists currently mounted devices.
正解:
mtab
Explanation:
The /etc/mtab file is a system-generated file that lists all the currently mounted devices and their mount options. It is updated automatically by the mount and umount commands. It can be used to check which devices are mounted and where, as well as their filesystem type and mount options. The /etc/mtab file has the same format as the /etc/fstab file, which is a user-edited file that lists the devices that should be mounted at boot time or on demand. References:
* LPIC-1 Exam 101 Objectives, Topic 101: System Architecture, 101.1 Determine and configure hardware settings, Key Knowledge Areas, The following is a partial list of the used files, terms and utilities: /etc/mtab
* LPIC-1 101-500 Exam Prep, Section 1: System Architecture, Lesson 1.1: Determine and Configure Hardware Settings, Video: 1.1.4 Mounting and Unmounting Filesystems, Transcript: The /etc/mtab file is a system-generated file that lists all the currently mounted devices and their mount options.
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?

解説: (GoShiken メンバーにのみ表示されます)
Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)
正解:
/etc/inittab
Explanation:
The /etc/inittab file is a plain text file that contains information about the initialization process of the system.
It defines the default run level, the available run levels, and the actions to be taken when entering or leaving a run level. The default run level is the mode of operation that the system starts up into, and it determines which services and processes are running. The default run level is specified by a line similar to the following in the
/etc/inittab file:
id:5:initdefault:
The number after the first colon indicates the default run level, which can range from 0 to 6. The meaning of each run level is:
* 0 - Halt
* 1 - Single-user text mode
* 2 - Not used (user-definable)
* 3 - Full multi-user text mode
* 4 - Not used (user-definable)
* 5 - Full multi-user graphical mode (with an X-based login screen)
* 6 - Reboot
To change the default run level, edit the /etc/inittab file as root and change the number to the desired run level. For example, to change the default run level to 3, use the following command:
sudo nano /etc/inittab
And change the line to:
id:3:initdefault:
Then save and exit the file. The changes will take effect on the next reboot.
References:
SysV Init Runlevels - Red Hat Customer Portal
F).4. SysV Init Runlevels - Red Hat Customer Portal
init - How can I see or change default run level? - Ask Ubuntu