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

today's howtos

Games and Wine: Hacknet - Deluxe, Full Metal Furies and More

Android Leftovers

Graphics: XWayland and Mesa

  • XWayland Gets Patches For Better EGLStreams Handling
    While the recently released X.Org Server 1.20 has initial support for XWayland with EGLStreams so X11 applications/games on Wayland can still benefit from hardware acceleration, in its current state it doesn't integrate too well with Wayland desktop compositors wishing to support it. That's changing with a new patch series.
  • Intel Mesa Driver Finally Supports Threaded OpenGL
    Based off the Gallium3D "mesa_glthread" work for threaded OpenGL that can provide a measurable win in some scenarios, the Intel i965 Mesa driver has implemented this support now too. Following the work squared away last year led in the RadeonSI driver, the Intel i965 OpenGL driver supports threaded OpenGL when the mesa_glthread=true environment variable is set.
  • Geometry & Tessellation Shaders For Mesa's OpenGL Compatibility Context
    With the recent Mesa 18.1 release there is OpenGL 3.1 support with the ARB_compatibility context for the key Gallium3D drivers, but Marek Olšák at AMD continues working on extending that functionality under the OpenGL compatibility context mode.
  • Mesa Begins Its Transition To Gitlab
    Following the news from earlier this month that FreeDesktop.org would move its infrastructure to Gitlab, the Mesa3D project has begun the process of adopting this Git-centered software.