How can I run ModelSim in command-line mode?



To invoke vsim in command-line mode (command line only, no gui)
vsim  entity_name  -c
i.e., for the entity tb_h4ba,
vsim  tb_h4ba  -c