Language Selection

English French German Italian Portuguese Spanish

Removing files from /tmp at shut down

Filed under
HowTos

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.



Also:

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

FreeBSD 10.1 Beta 3 Features Even More UEFI Improvements

A new Beta version has been made available for the FreeBSD 10.1 branch, an operating system for x86, ARM, IA-64, PowerPC, PC-98, and UltraSPARC architectures. Users can now download and test it. Read more

GNOME 3.14

Last week GNOME 3.14 was released. I’ve been using my jhbuild copy since last Wednesday, and have to say I’m most happy with the improvements this cycle brought. I wanted to talk a bit about it, and this is one of the reason of this post. As you can see in the release notes this version includes improvements around the whole stack: the network and sharing settings; the input system, with support for gestures and improved touchscreen support; the shell and a bunch of updated applications. I’m most happy with the updates on GNOME Shell, this time the developers bring some pretty nifty animations to the Activities overview and windows. There’s also a whole set of changes for the developers using and targeting GNOME as platform. I’ll be talking a bit more on this latter. Read more

Join me in supporting The Ada Initiative

When I first read that Linux kernel developer Valerie Aurora would be changing careers to work full-time on behalf of women in open source communities, I never imagined it would lead so far so fast. Today, The Ada Initiative is a non-profit organization with global reach, whose programs have helped create positive change for women in a wide range of communities beyond open source. Building on this foundation, imagine how much more they can do in the next four years! That’s why I’m pledging my continuing support, and asking you to join me. Read more

Cantor: new features in KDE 4.14

KDE 4.14 was released in August 2014 but I did not have time to write about new features in Cantor for that release. So, let’s fix it now! New backend: Lua Read more