os:linux:start
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
os:linux:start [2014-07-03 15:50] – created root | os:linux:start [2024-03-07 17:39] (current) – Manuel Frei | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linux ====== | ====== Linux ====== | ||
- | == Backup directory == | + | * [[os: |
+ | * [[os: | ||
+ | * [[os: | ||
+ | * [[os: | ||
+ | * [[os: | ||
+ | * [[os: | ||
+ | * [[os: | ||
+ | * [[os: | ||
+ | * [[apps: | ||
+ | |||
+ | ==== Backup directory | ||
rsync -vr / | rsync -vr / | ||
**Hint:** With a / at the end of the first directory, all sub directories are copied directly to the destination folder. Without / it will create the source folder (ex. important_directory) with all sub directories are copied to the destination folder | **Hint:** With a / at the end of the first directory, all sub directories are copied directly to the destination folder. Without / it will create the source folder (ex. important_directory) with all sub directories are copied to the destination folder | ||
+ | |||
+ | ==== Forward Mails of A User ==== | ||
+ | |||
+ | You have a server for example and some mails are sent directly to root. The easiest way to forward them to a real address ist to create a .forward file. | ||
+ | |||
+ | / | ||
+ | < | ||
+ | user@example.org | ||
+ | |||
+ | </ | ||
+ | |||
+ | **Immportant: | ||
+ | |||
+ | Misconfiguration may result in following log lines of your mail server: | ||
+ | < | ||
+ | Jul 6 10:10:48 myHostName postfix/ | ||
+ | Jul 6 10:10:48 myHostName postfix/ | ||
+ | Jul 6 10:10:48 myHostName postfix/ | ||
+ | Jul 6 10:10:48 myHostName postfix/ | ||
+ | Jul 6 10:10:48 myHostName postfix/ | ||
+ | </ | ||
+ | |||
+ | ==== Validate XML Against Template ==== | ||
+ | |||
+ | < | ||
+ | xmllint --schema schema.xsd --noout file.xml | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | xmlstarlet val -s schema.xsd -e file.xml | ||
+ | </ | ||
+ | |||
+ | ==== Links ==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ |
os/linux/start.1404395450.txt.gz · Last modified: 2014-12-18 20:10 (external edit)