I'm struggling to find the correct command to retrieve a compressed tar archive and extract it to a directory.
Can someone point out the error of my ways?
This is what I have:-
which is supposed to fetch kernel.txz and extract it to workdir, but it doesn't work :-(...
Can someone point out the error of my ways?
This is what I have:-
Code:
fetch -o - ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/12.3-RELEASE/kernel.txz | tar xf - -C workdir
which is supposed to fetch kernel.txz and extract it to workdir, but it doesn't work :-(...