You can certainly start GRASS without the gui:
grass64 -text
Furthermore, you can run GRASS in batch mode withwithout actually "starting" the program at all. If you prepare a bash script which sets up the required environment, then you can have GRASS commands run without the GRASS interface at all. Full details in the grass wiki