Ok, I did all you said, but when I put that line into the terminal, it said that there was "No such file or directory" I don't think that I have a .technic file, so that's probably the problem. Should I make one myself, if so where should I make it? I also don't have a .minecraft either, and I'm used to having one when playing on Windows, but I don't know if that's relevant.
*EDIT* Ok, I found out how to do it, thanks a whole lot everyone for helping me, I wouldn't have been able to figure it out myself. I really appreciate it =D