I have been trying to restart tor (for the sole purpose of changing my IP address).
So what I did was make an alias to
pkill -x tor; tor. But that gives me the usual tor is already in use/the ip address is already in use etc. indicating that I tried to start tor when it was already running.
I figured that the
; was at fault, because that doesn't care if the process has been killed or not so instead I used
&&. But that did the same thing, first start tor, then kill it.
So I looked it up, and some people use something like
sudo /usr/local/etc/init.d/tor, but the way I start it is by simply running the tor executable, and when I tried to do the
init.d thing it just told me that the command doesn't exist (which is logical because it doesn't).
So what am I supposed to do?
Also, I have no
init.d folder I also have no