Redhat Linux Interview Questions and Answers part 7

1
3330
Q: – What does /etc/X11/ directory contains?

The /etc/X11/ directory is for X Window System configuration files, such as xorg.conf.

 Q: – How to list PCI Devices on your server or System?

use "lspci" command.

 Q: – What is the role of "Kudzu"?

Kudzu is used to Detect new Hardware.

Q: – How to Enable ACLs for /home partition?

Add following entry in /etc/fstab

LABEL=/home    /home       ext3        acl      1  2

Now remount /home partition with acl option.
mount -t ext3 -o acl /dev/sda3  /home

 Q: – How to View ACLs for a file(test_file)?

getfacl test_file

 Q: – What does /etc/skell directory contains?

The /etc/skel directory contains files and directories that are automatically copied over to a new user's home directory when such user is created by the useradd or adduser command.

Q: – What does /etc/X11/ directory contains?

The /etc/X11/ directory is for X Window System configuration files, such as xorg.conf.

 Q: – How to list PCI Devices on your server or System?

use "lspci" command.

Q: – What is the role of "Kudzu"?

Kudzu is used to Detect new Hardware

Q: – How to Enable ACLs for /home partition?

Add following entry in /etc/fstab

LABEL=/home    /home       ext3        acl      1  2

Now remount /home partition with acl option.
mount -t ext3 -o acl /dev/sda3  /home

Q: – How to View ACLs for a file(test_file)?

getfacl test_file

 Q: – What does /etc/skell directory contains?

The /etc/skel directory contains files and directories that are automatically copied over to a new user's home directory when such user is created by the useradd or adduser command.

 Q: – What happens when you add a new device after installation?

The Kudzu program runs each time the system boots and performs a hardware probe. If new hardware is found, Kudzu attempts to map it to a kernel module. If successful, the information is saved, and the device is configured.

Q: – How to remove an ACL?

setfacl –remove-all <file-name>

 Q: – Tell me name of Linux File systems?

Ext2
Ext

Submitted By:-Parveen Kumar            Email-ID: – parveen.antil@gmail.com

 

SHARE

1 COMMENT

LEAVE A REPLY