Ubuntu – Tor in command prompt

command linetor

Is there any way to use tor in terminal (or any other software like tor in command-line). I need this for updating my Ubuntu, as my network not allows to download more than 20MB file. Because of this I have to download files which are more than 20MB in size using tor-browser one by one.

Please let me know any other way to solve this.

Best Answer

Use torify.

$ man torify
torify is a simple wrapper that attempts to find the best underlying Tor wrapper available on a system. It calls torsocks or tsocks with a tor specific configuration file.

E.g. to update and upgrade your packages:

sudo torify apt-get update && sudo torify apt-get upgrade
Related Question