The SQL*Plus host command allows you to run operating system commands from within a SQL*Plus session:
SQL> host date
Wed Feb 8 10:56:34 GMT 2012
Alternatively, you can use an exclamation mark:
SQL> ! echo "Andrew was here"
Andrew was here
... and, if you do, it is not necessary to leave a space between the exclamation mark and the OS command: