Terminal - make it exit after running 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.
example
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