Linux.com

CLI Magic: For geek cred, try these one-liners

Posted by: Anonymous [ip: 190.55.101.115] on July 24, 2008 03:47 AM
I think the parentheses in 'tar cf - . | (cd /usr/backups/; tar xfp -)' are redundant. From bash(1):
"Each command in a pipeline is executed as a separate process (i.e., in a subshell)."

#

Return to CLI Magic: For geek cred, try these one-liners