PDA

View Full Version : Help noob write a simple bash script, please!



oleksus
June 11th, 2008, 03:55 PM
I need to run an application with a prefix, in a specific directory.

Say directory is /home/tommy/project
and the string is
wxlua project.lua

Do I just post these lines in a .sh script, like "cd /home..." etc?

Joeb454
June 11th, 2008, 03:56 PM
Yes you should just be able to do that :)

Sef
June 11th, 2008, 03:57 PM
Moved to Programing Talk.