Skip to content

urbdb

Urban Database News Your Way

  • @urbdb

Tag: linux total kernels

Remove Old Kernels And Set Total Number Of Kernels

Remove all kernels, but 2:

dnf remove $(dnf repoquery --installonly --latest-limit=-2 -q)

You can edit /etc/yum.conf or /etc/dnf/dnf.conf and set installonly_limit to limit the amount of kernels installed:

installonly_limit=3

Author grakhulPosted on 2020-08-132020-08-13Categories Linux, TechnologyTags linux total kernelsLeave a comment on Remove Old Kernels And Set Total Number Of Kernels

Recent Posts

  • Remove Old Kernels And Set Total Number Of Kernels
  • SSH Port Forwarding
  • Record microphone input and output to mp3 file
  • LD_DEBUG Help
  • Etrade Pro Working On Linux

Categories

  • Finance
  • General
  • Linux
  • Technology

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • @urbdb
urbdb Privacy Policy Proudly powered by WordPress