Home
26.
Given a local file /usr/bin/pstree" on the HD, how can you identify if it came from an RPM?

RPM allows you to reverse-query the RPM DB and search its files by: rpm -qf /usr/bin/pstree

27.
What is the LVM and where can you find its configuration?

The LVM is the Linux Volume Manager and its configuration is found under /etc/lvm/lvm.conf.

28.
How can you get the status of all the services configured on your Linux machine?

You can use the service command to stop/start and get information about the services - service --status-all.

29.
How can you change the system library paths?

In order to change the system library paths, you need to edit the file /etc/ld.so.conf and then run ldconfig to reload the changes.

30.
How can you disable all ping responses from the Linux machine?
You need to manipulate the ip configuration files - echo 1 > 
               /proc/sys/net/ipv4/icmp_echo_ignore_all