NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Extract tar balls




On 10/29/21 10:15 PM, Bob Bernstein wrote:
I'm trying to follow _The NetBSD Guide_, but I am stymied by these instructions, at https://netbsd.org/docs/guide/en/chap-fetch.html

$ for file in *.tgz
do
tar -xzf $file -C /
done

Entering that first line and pressing <Enter> just yields

"for: Command not found."

Are those steps, as printed, dependent on the use of a certain shell? I like tcsh.


try:


foreach file (*.tgz)

    tar -xz $file -C /

end



Home | Main Index | Thread Index | Old Index