The command that allows you to create an alias command is alias. The alias command can be used to define a short name or abbreviation for another command or sequence of commands. The syntax of the alias command is alias name=‘command’. For example, alias c=‘clear’ will create an alias named c for the clear command. You can then type c to run the clear command. To remove an alias, you can use unalias name. References:
Question 2
Which file contains information about secondary groups on the system?
Options:
A.
/etc/second.grp
B.
/var/share/group
C.
etc/sysconflg/group
D.
/etc/group
E.
/var/lib/group
Answer:
D
Explanation:
Explanation:
The file that contains information about secondary groups on the system is /etc/group. This file defines the group names, group IDs, group passwords, and group members for each group on the system. The primary group information for each user is stored in /etc/passwd file. References:
Question 3
Which directory contains the initrd file?
Options:
A.
/loader/grub
B.
/startup/grub2
C.
/boot/grub2
D.
/loader
E.
/boot
F.
/startup
Answer:
E
Explanation:
Explanation:
The initrd file is an initial ramdisk image that contains the necessary drivers and tools to mount the root file system and start the boot process. It is usually located in the /boot directory along with the kernel image (vmlinuz). References: