If you dont want to go in to the technicalities of it all, set up your render settings in maya save it and close it.
Find the file right click and then you should see render, click that and off it goes.
Theres plenty of tutorials online about command line rendering, essentially you dont have maya open at all.
"No pressure, no diamonds" Thomas Carlyle