Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new user of Ubuntu 12.04, and I don't know what should I do. I had download tor-browser and in instruction it said I should use this command for extracting tar file:

tar -xvJf tor-browser-linux64-3.5.3_en-US.tar .xz

but it give me this:

tar (child): tor-browser-linux64-3.5.3_en-US.tar: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

but that file exist because I use ls command as below:

ls Downloads

I also use:

cd Downloads

but it didn't work to, where I did it wrong?

share|improve this question

closed as off-topic by psusi, chaskes, green7, mikewhatever, Glutanimate Apr 4 '14 at 19:12

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – psusi, chaskes, green, mikewhatever, Glutanimate
If this question can be reworded to fit the rules in the help center, please edit the question.

it's work thank you drag and drop was wonderful way, thank you so much. – user264363 Apr 3 '14 at 7:00
@user264363 You did wrong because you put a space in the file's name: .tar .xz. If there is really a space, then you should escape it: .tar\ .xz or put the file name between quotes. – Radu Rădeanu Apr 3 '14 at 8:25

You need to go to the folder where the file is to extract it. The Downloads folder is in your home folder. Your home folder is in /home/yourusername, but you can access to it with ~. Try:

cd ~/Downloads


if your file is really there, then execute the tar command

tar -xvJf tor-browser-linux64-3.5.3_en-US.tar.xz

Or if you don't feel confident with the console, you can open a file manager, go to the location of your file, right click on it and select "extract here". This will do the same thing as your command.

If you want to avoid typos when using the terminal, you can:

  • Type tar -xvJf, and drag the file onto the terminal window. (Thanks Jacob2)
  • Start typing the name of the file name and press the Tab key. This will complete the name of the file if only one file starts with the string that you have typed. If there are more files starting with that name, press Tab again and you will see a list of options.
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.