Chap6 Kernel Services and Configuration Flashcards

1
Q

To see what command line a system was booted with type:

A

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.4.0-75-generic.efi.signed root=UUID=76da709a-25f0-4cc3-b8a2-3216b766ca11 ro quiet splash vt.handoff=7
which is found in /boot/grub/grub.cfg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

sysctl -a

A

Display current values of sysctl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Location of the sysctl config file, to make changes that are fixed at boot.

A

/etc/sysctl.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

sysctl -p

A

Effectuates immediate digestion of whatever is in /etc/sysctl.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Block icmp with sysctl

A

$ sudo sysctl net.ipv4.icmp_echo_ignore_all=1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

sysctl

A

configure kernel parameters at runtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where are sysctl values stored?

A

/proc/sys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly