venerdì 11 gennaio 2013

AIX - useful tricks

If you need to extract a tar.gz compressed file in one line , in Aix you can join two commands on the same line


“gunzip < file.tar.gz | tar xvf -”

“bzip2 < file.tar.bz2 | tar xvf -”"


or to create a tar.gz compressed file starting from , you can 


“tar cvf –  filelist | gzip > file.tar.gz”

“tar cvf – filelist | bzip2 > file.tar.bz2″






Nessun commento: