Language Selection

English French German Italian Portuguese Spanish

Removing files from /tmp at shut down

Filed under

Your /tmp directory in Linux is a handy place for your OS to stick files that it may need at the moment but won’t need down the road. While this is great for the OS (and you if you want to use it yourself feel free) it can cause a bit of clutter as files start building up.

There’s a fairly simply way to get rid of these files each time you shut down your machine. It will require a very small amount of hacking on your part, as we modify one file, called sysklogd.

Sysklogd provides two logging services, one for your system and the other for your kernel. It sits in /etc/init.d/ and is a service that starts and stops with your computer.

More Here.


Listing processes is quite a common task you might have to perform if you’re messing around with your command line interface.

There are actually two great command line tools for listing processes, but in this tip post, I’m going to focus on ps.

If you run the command just on its own, you won’t get all that many processes show up:

Command line tips - listing with ps

More in Tux Machines

FreeNAS 10 Enters Alpha, Brings Lots of New Technologies, Based on FreeBSD 10.2

FreeNAS' Jordan Hubbard was proud to announce the other day, October 8, the release and immediate availability for download of the first Alpha build of the upcoming FreeNAS open source Network Attached Storage (NAS) solution. Read more

openSUSE Tumbleweed Gets New Major Snapshot, Leap 42.1 RC1 Coming Next Week

On October 9, Douglas DeMaio wrote about the latest major snapshot released for the rolling-release edition of the openSUSE Linux operating system, Tumbleweed, which adds some of the latest software versions. Read more

Amazon’s AWS IoT platform taps three Linux SBCs

Amazon’s new “AWS IoT” cloud IoT platform offers Starter Kits built around Linux-ready SBCs like the BeagleBone Green, DragonBoard 410c, and Intel Edison. Amazon made its first big Internet of Things play by launching an IoT managed cloud platform for aggregating and processing IoT endpoint data, built around its Amazon Web Services (AWS) platform. Available now in beta form, AWS IoT, is being made available in the form of a series of AWS IoT Starter Kits, which bundle popular hacker boards with the AWS IoT Device SDK, and in some cases other hardware such as Grove sensors. Three of the 10 kits runs Linux, including kits for the DragonBoard 410c, BeagleBone Green, and Intel Edison (see farther below). Read more

KDBUS Continues Maturing, But Will We See It For Linux 4.4?

New KDBUS patches continue being published for this in-kernel IPC mechanism based on D-Bus, but it hasn't been communicated yet whether Linux 4.4 is the next target for hoping to mainline this controversial code. Just yesterday was a set of 44 patches in attempting to cleanup the KDBUS code further. There's also been an assortment of other KDBUS patches floating around the kernel mailing list. Read more