os:linux:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
os:linux:start [2014-07-06 10:15] – add mail forward root | os:linux:start [2024-03-07 17:39] (current) – Manuel Frei | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linux ====== | ====== Linux ====== | ||
+ | * [[os: | ||
* [[os: | * [[os: | ||
- | + | * [[os: | |
- | == Backup directory == | + | * [[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 == | + | ==== 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. | 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. | ||
Line 14: | Line 22: | ||
/ | / | ||
< | < | ||
- | | + | user@example.org |
- | + | ||
</ | </ | ||
**Immportant: | **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.1404634557.txt.gz · Last modified: 2014-12-18 20:10 (external edit)