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
2
Q
sysctl -a
A
Display current values of sysctl
3
Q
Location of the sysctl config file, to make changes that are fixed at boot.
A
/etc/sysctl.conf
4
Q
sysctl -p
A
Effectuates immediate digestion of whatever is in /etc/sysctl.conf
5
Q
Block icmp with sysctl
A
$ sudo sysctl net.ipv4.icmp_echo_ignore_all=1
6
Q
sysctl
A
configure kernel parameters at runtime
7
Q
Where are sysctl values stored?
A
/proc/sys