How to Change Kernel Runtime Parameters in a Persistent and Non-Persistent Way

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

11 Responses

  1. Nuno says:

    Hi Gabriel,

    Found two typos in this article, here they are:

    “… each of them will contain other subdirectories where we values for each parameter category are maintained:…”

    “…A better and easier to maintain a way, to set individual runtime parameters is using .conf files inside /etc/sysctl.d, grouping them by categories….”

    Feel free to delete my comments after correction :)

    • @Nuno,
      Thank you for pointing that out! Yes, those are indeed typos.
      @Ravi,
      Please correct the writeup as follows:
      “…each of them will contain other subdirectories where the values for each parameter…”
      “…a better and easier way to set individual runtime parameters is using…”

      • Ravi Saive says:

        @Gabriel and @Nuno

        Corrected in the writeup…

        • Nuno says:

          @Ravi, still see the second one.

          • Ravi Saive says:

            @Nuno,

            I corrected and its showing at my end, could you clear your browser cache and check?

        • Nuno says:

          @Ravi,

          Already tried different browser and access via mobile, same thing..

          “…A better and easier to maintain a way to set individual runtime parameters is using .conf …”

          • Ravi Saive says:

            @Nuno,

            I think I am confuse, could you send me exactly what needs to be changed….

          • Nuno says:

            @Ravi,

            You need to change this:

            “A better and easier to maintain a way to set individual runtime parameters is using .conf files inside /etc/sysctl.d, grouping them by categories.”

            to this:

            “A better and easier way to set individual runtime parameters is using .conf files inside /etc/sysctl.d, grouping them by categories.”

            Regards,
            Nuno

          • Ravi Saive says:

            @Nuno,

            Thanks again, yes now I got it, corrected as per your suggestion.

          • Nuno says:

            @Ravi,

            One more thing.

            I think that with this “# echo “net.ipv4.icmp_echo_ignore_all=1″ >l;>l; /etc/sysctl.d/net.conf” ou mean this “# echo “net.ipv4.icmp_echo_ignore_all=1″ >> /etc/sysctl.d/net.conf” to append this line to the net.conf file.

          • Ravi Saive says:

            @Nuno,

            Thanks for pointing out that error, corrected in the article.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's