Blog Archives

Script for Removing Old Kernels and Linux Headers

This oneliner removes all the unused kernels and headers, on Ubuntu, Linux Mint, Knoppix or Debian Systems. $ 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 If

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!

Cron Tab for Odd or Even days only

Cron tab tasks are easy to do after you learn the syntax. Until I understood how to schedule tasks with cron, I have googled a lot, every time I needed to do something in cron. Today, I will show you

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!

Make Programs Start at Startup

The most close Linux and Unix trick to the Windows Scheduler is Cron. In this article I will show you how to make a list of startup programs and scripts The ideea is simple. Create a list of programs and

Tagged with: , , , , , , , ,
Posted in The Linux and Unix Articles!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!