“Don’t cry because it’s over, smile because it happened.”
― Dr. Seuss
I needed to use package hold.
I ran command :
uname -r
(more…)
I fresh install of win10 and elementary OS, want customizer. My PC is booting into elementary by default instead of into win10. I use both, but I want o boot into win10 by default. This is method to install Grub Customizer in Loki (maybe in other Ubuntu/Debian Linux OS).
sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo apt-get update sudo apt-get install grub-customizer grub-customizer
In a terminal, execute the following command:
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
This command lists all currently installed Linux kernels, then selects all of the ones that are currently not used and removes them. (more…)
Almost all distros have a form of cron installed by default. However, if you’re using a system that doesn’t have it installed, you can install it with the following commands:
For Ubuntu/Debian:
apt-get update
apt-get install cron
For Cent OS/Red Hat Linux:
yum update
yum install vixie-cron crontabs
You’ll need to make sure it runs in the background too:
chkconfig crond on
service crond start