LowEndBox - Cheap VPS, Hosting and Dedicated Server Deals

Instant Reactions to Filesystem Events with inotify

Tags: , , , , , Date/Time: May 20, 2021 @ 11:58 pm, by raindog308

The ability to run programs automatically is one of the great liberating powers of computers. In Unix, it’s common for users to schedule jobs using cron or at (or with systemd, timers). But what if you want to run a job not based on a schedule but rather in response to an event? Imagine you […]

Guide to Understanding File Permissions in Linux

Since very early in its history, Unix systems have supported file and directory permissions. This security mechanism allow users to make their files private from other users, and for administrators to protect system configuration information from unauthorized changes. In this tutorial we’ll go over the basics of Unix file permissions. Users and Groups All files […]

How to Find Files in Linux

Tags: , , , , , , , , Date/Time: May 15, 2021 @ 7:09 am, by raindog308

There’s nothing more frustrating than knowing that a file exists on your system but not knowing where it is. It’s like losing your car keys or misplacing your phone. Sometimes you’ll have contextual clues – for example, system configuration files are usually in /etc. But even there, you’ve got 253 directories and subdirectories and over […]

Resetting that Linux Root Password You Forgot

Tags: , , , , , , Date/Time: December 5, 2020 @ 12:00 am, by raindog308

You had to type it twice. You were supposed to put it in your password safe. You were going to setup sudo but didn’t get a chance. You know it’s something to do with a Scooby Doo cartoon and that one blues band you like but now you just can’t remember your Linux root password. […]

Top Ten Things That Should Be In Your Dot Files

Tags: , , , , , , , Date/Time: October 13, 2020 @ 6:49 am, by raindog308

“Dot files” are Unix configuration files that live in your home directory.  They’re often used to store user-specific choices and preferences.  For example: .bash_profile is executed whenever you login via ssh (or any other method).  It is typically used to control your Unix shell experience. .vimrc contains customizations for the Vim editor, while .emacs contains […]