Unix , food and ... beer
Unix Sysadmin , life hacker , sometimes still a curious person ..
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:
Posta un commento
Post più recente
Post più vecchio
Home page
Iscriviti a:
Commenti sul post (Atom)
Elenco
Unix Food and Beer
Homebrewing
Nessun commento:
Posta un commento