How can I edit the torcc file in Tails, I tried by using the edit button in tor, but It will not let me?
Im a major newb on Debian so can you please give me a step by step and include any commands I will need in the terminal.
I dont know if it is even possible, but i would like to be able to edit the torcc file.
Thankk you for your time.

ADVICE: DO NOT EDIT TORRC UNLESS YOU KNOW WHAT YOU'RE DOING!
This is especially true when trying to "block malicious nodes" (e.g. by using Exlude(Exit|Entry)?Nodes) and the like. Why? Let me quote The Tor Project's FAQ:
In fact, most valid reasons for wanting to change Tails' stock torrc are covered by the settings available in Vidalia. The only valid options not covered by Vidalia from the top of my head are ReachableAddresses (if your network blocks certain IP address blocks) and LongLivedPorts (in case we've missed some application's long lived connection). If you really need something like that, then (and only then) you should do something like what Tom describes. However, he omits how to make your torrc changes apply to the current Tor instance.
If you don't understand every step in Tom's post I recommend to instead doing the following in a terminal (e.g. Applications -> Accessories -> Terminal):
1. Edit the torrc file as the super user:
2. Apply the new changes to the current tor instance:
(Technically you could to a reload instead of a restart, but restarting is generally more robust against network failure when Tor is bootstrapping which might be why you want to add ReachableAddresses)
Take care now, and I mean it.