User Tools

Site Tools


os:linux:start

This is an old revision of the document!


Linux

Backup directory

rsync -vr /home/user/important_directory /media/some_hdd/backups/

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.

/root/.forward

  user@example.org
  

Immportant: The last line of the file have to be empty. It won't work without newline.

os/linux/start.1404634587.txt.gz · Last modified: 2014-12-18 20:10 (external edit)