Linux Commands Examples

A great documentation place for Linux commands


Shell wrapper to simplify the use of the torsocks(8) library to transparently allow an application to use a SOCKS proxy.

see also : torsocks


usewithtor [application [application’s arguments]]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


usewithtor is a wrapper between the torsocks library and the application what you would like to run socksified.


[application [application’s arguments]]

run the application as specified with the environment (LD_PRELOAD) set such that torsocks(8) will transparently proxy SOCKS connections in that program.

usewithtor versus torify

usewithtor(1) and torify(1) intend to achieve the same ends for most practical purposes. However torify(1) will use a default tsocks installation if one exists. Usewithtor(1) will only ever use a torsocks(8) installation.

usewithtor versus torsocks

usewithtor runs torsocks(1) with the default configuration file, located at /etc/torsocks.conf. Running torsocks(1) directly means that no configuration file will be used (unless you manually set the TORSOCKS_CONF_FILE or TSOCKS_CONF_FILE environment variable), instead torsocks(8) will use defaults that are sensible for most Tor installations.

see also

torsocks .conf torsocks usewithtor


Robert Hogan (robert[:at:]roberthogan[:dot:]net).This script is very similar to torify(1), provided by the Tor project.

How can this site be more helpful to YOU ?

give  feedback