i always see something like
tar xzvf fluxbox-0.1.12.tar.gz
in posts and documentation, regarding the tar utility.. and can never remember the exact command.
this utility is used to compress and extract files or archives, correct?
the argument "xzvf" always gets me, and i can never remmeber it.. i looked up the command online and got what each argument means and am curious about it...
the first argument -x/--extract is always required as the first argument when extracting an archive...
"z" is used to "filter the archive through gzip".. is this only necessary for *.gz files?
"v" is for verbose, to display a list of files/directories involved.. and is probably just personal preferance, right?
"f" is apparently the option to specify the archive file... but in the documentation for this command it says that the last argument in this command is always the filename.. am i misunderstanding this? does that mean you dont need to specify -f?
the purpose of this is to basically simplify this command so i can remember it... im in windowz right now so i cant test it... but to me it looks like i can narrow down the above command to something like
tar -x fluxbox-0.1.12.tar.gz
or include the -z option also, if required for only .gz files?