-
Notifications
You must be signed in to change notification settings - Fork 0
Linux
Mario Ferreira edited this page Feb 20, 2017
·
4 revisions
http://askubuntu.com/questions/83868/compress-in-tgz
tar -cvzf <name of tarball>.tgz /path/to/source/folder
tar -xvzf backup.tgz
command >/path/to/log 2>&1 The first part > Redirects standard output(1). the second part 2>&1 Redirects error output (2) to the same as 1