How to Build tuned Profiles for Dynamic Linux Kernel Mitigations dynamic mitigation functionality was created by AMD engineer David Kaplan, linked here is an article discussing it The recent introduction of "Dynamic Mitigations" for the Linux kernel provides a powerful new capability: the ability to enable or disable CPU security mitigations at runtime without a reboot. This is managed by writing to a special file at /sys/devices/system/cpu/mitigations . While you can do this manually with a simple echo command, a more robust and manageable approach is to use the tuned daemon. tuned is a system service designed to switch between performance profiles, making it the perfect tool for this job. This guide will show you how to create custom tuned profiles to easily manage your system's security and performance posture. Start Somewhere : Create a Custom tuned Profile Creating a custom profile is straightforward. First, you need to create a new directory for...
BASH One-liners Run the last command as root $ sudo !! copy Serve current directory tree at http://$HOSTNAME:8000/ $ python -m SimpleHTTPServer copy Runs previous command but replacing $ ^foo^bar copy Rapidly invoke an editor to write a long, complex, or tricky command $ ctrl-x e copy Place the argument of the most recent command on the shell $ 'ALT+.' or '<ESC> .' copy currently mounted filesystems in nice layout $ mount | column -t copy Salvage a borked terminal $ reset copy Get your external IP address $ curl ifconfig.me copy Execute a command at a given time $ echo "ls -l" | at midnight copy Quick access to the ascii table. $ man ascii copy output your microphone to a remote computer's speaker $ dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp copy type partial command, kill this command, check something you forgot, yank the command, resume typing. $ <ctrl+u> [...] <ctrl+y> copy Query Wikipedia via console over DNS...
Comments
Post a Comment