background preloader

Linux

Facebook Twitter

Photography

Repository. VirtualBox. MonoDevelop. Filesystem Hierarchy Standard. The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix[citation needed] and Unix-like operating systems, maintained by the Linux Foundation. The current version is 3.0, released on 18 May 2015.[1] Directory structure[edit] The majority of these directories exist in all UNIX operating systems and are generally used in much the same way; however, the descriptions here are those used specifically for the FHS, and are not considered authoritative for platforms other than Linux. FHS compliance[edit] Most Linux distributions follow the Filesystem Hierarchy Standard and declare it their own policy to maintain FHS compliance.[9][10][11][12] GoboLinux is an example of an intentionally non-compliant filesystem implementation.[13] Some distributions that generally follow the standard deviate from it in some areas.

Common deviations include: History[edit] Release history[edit] See also[edit] References[edit] External links[edit] Archive » Ubuntu Dapper Review. LinuxSelfhelp - Need Linux Help? The Kubuntu 5.10 Quick Guide. Kubuntu. Easy Automated Snapshot-Style Backups with Rsync. Page last modified 2004.01.04 Updates: As of rsync-2.5.6, the --link-dest option is now standard! That can be used instead of the separate cp -al and rsync stages, and it eliminates the ownerships/permissions bug. I now recommend using it. Also, I'm proud to report this article is mentioned in Linux Server Hacks, a new (and very good, in my opinion) O'Reilly book by compiled by Rob Flickenger.

Contents AbstractMotivationUsing rsync to make a backup Basics Using the --delete flag Be lazy: use cronIncremental backups with rsync Review of hard links Using cp -al Putting it all together I'm used to dump or tar! Abstract This document describes a method for generating automatic rotating "snapshot"-style backups on a Unix-based system, with specific examples drawn from the author's GNU/Linux experience. Motivation Note: what follows is the original sgvlug DEVSIG announcement. Ever accidentally delete or overwrite a file you were working on? Using rsync to make a backup Basics rsync -a a b crontab -e. Regular Expression Tutorial. This tutorial teaches you all you need to know to be able to craft powerful time-saving regular expressions. It starts with the most basic concepts, so that you can follow this tutorial even if you know nothing at all about regular expressions yet.

The tutorial doesn't stop there. It also explains how a regular expression engine works on the inside, and alert you at the consequences. This helps you to quickly understand why a particular regex does not do what you initially expected. What Regular Expressions Are Exactly - Terminology Basically, a regular expression is a pattern describing a certain amount of text. This first example is actually a perfectly valid regex. \b[A-Z0-9._%+-]+@[A-Z0-9.-]+\. With the above regular expression pattern, you can search through a text file to find email addresses, or verify if a given string looks like an email address. Different Regular Expression Engines Give Regexes a First Try As a quick test, copy and paste the text of this page into EditPad Pro. The Linux Documentation Project. Tips for Linux Explorers. Linux commands.

The Unofficial Fedora FAQ.