| View previous topic :: View next topic |
| Author |
Message |
paulOr Voice
Joined: 01 Nov 2008 Posts: 10
|
Posted: Sat Nov 01, 2008 10:36 am Post subject: Execute unix command |
|
|
Im wanting to create a simple little script that will do a unix command, iv tryed modifying the uptime scripts to do this, but its not really working.
In the script i want to set a location i.e
/home/paul/webserver/blah/blah/blah/
then set the executable file
m00
so that when i type a command:
!m00
the m00 executable file will be executed.
then show a message:
" m00 has been executed "
Something like that
Can anyone help me out there? |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
|
| Back to top |
|
 |
|