On 09-Jul-10 08:54:57, Bev Nicolson wrote:
If that says that the command isn't found, then try this which will install
tar (I'm assuming you're using Ubuntu):
sudo apt-get install tar
If it says that it can't find the file (i.e. it can't find foo.tar.gz) then perhaps you're in the wrong directory. _Do you know how to list the contents of directories and change to another directory?
tar-xwzf flashplayer_10_plugin_debug.tar.gz bash: tar-xwzf: command not found
Bev, there *must* be a space between "tar" and the options "-xwzf". That way, the shell recongnises "tar" (at the start of the line) as the command to execute and looks for it. Then the rest of the line is information which will be passed to tar to govern what it does.
Your error message, telling you that "tar-xwzf: command not found", arises because you had no space between "tar" and "-xwzf", so the shell (bash) tried to look for a command named "tar-xwzf" and did not find one!
By the way -- why did you put the option "w" into "-xwzf"? Previous suggestions stated "-xvvzf" (though admittedly the repetition in "vv" is redundant: you can just as well use "-xvzf"); maybe you misread "vv" as "w"?
The option "v" causes tar to list to the screen every component file in the archive that it deals with, and is a useful confirmation that things are going as they should.
The option "w" instructs tar to request confirmation of every action, which I doubt you want -- you would end up having to press "Y" (or similar) for every file that tar attempts to extract from the archive.
Is what it says. I do have tar though!
I tried this too but clearly I need help with directories.
tar -xzvf flashplayer_10_plugin_debug.tar.gz tar: flashplayer_10_plugin_debug.tar.gz: Cannot open: No such file or directory
I might add that when folder options come up in Archive Manager, several files on the desktop are not available. Bev.
What may be happening here is that the directory you are in when you enter the tar command is not the directory into which the file flashplayer_10_plugin_debug.tar.gz was downloaded. Possibly (though this is only a guess) is that you are in your home directory (e.g. /home/bev or whatever you call yourself) and the file may have been downloaded into something like /home/bev/Downloads or whetever your browser is set up to store downloads in. You would need to be executing the above command in the same directory as the one where the file is stored.
You could try to track it down using the 'find' command (NB Type this carefully!). In your home directory, enter
find . -name flashplayer_10_plugin_debug.tar.gz -print
and, if that fails, try
find . -name 'flashplayer*' -print
(What the latter would do is find any file in or below your home directory whose name begins with "flashplayer", and tell you where it is).
Hoping this helps, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 09-Jul-10 Time: 10:26:36 ------------------------------ XFMail ------------------------------