But I still want to run SAS from the SSH or command prompt...
From the command line or SSH prompt (2.7), type 'sas lab4' (assuming lab4.sas
is your program), and SAS will run (without GUI). You can then one of the
editors (2.12) to load and view the log and lst files.