3 Replies Latest reply: Oct 12, 2007 4:01 PM by Roger Smith3
gary_johnson_53 Level 1 (0 points)
I am looking for a way to exit terminal after executing a command.

I have tried this sort of thing
Open Terminal.

File -> Save As...

Save as "My Command FIle"
Choose "Where". Desktop is easy to find. Move it later.....

Under "Execute this Command", put your command line in there.

ls -l >gj.out

ls -l >gj.out; exit

combinations of the above using different options under Terminal- Window Settings - Shell { Process, ..}
close on exit etc. have not worked for me.

I get the command to execute; however, it sits in terminal.

I need it to exit. ?

Mac Mini, Mac OS X (10.4.10), Terminal exit