Results 1 to 3 of 3
I need to put a script together that will run these commands below
cd /this folder
python thisprog.py
I'd like to link this to a desktop icon in kde.
What ...
- 11-03-2007 #1Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Need script to run a prog
I need to put a script together that will run these commands below
cd /this folder
python thisprog.py
I'd like to link this to a desktop icon in kde.
What should I be putting in a file?
- 11-03-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Just place your commands in a file with the shebang above:
and make the file executable with chmod.Code:#!/bin/bash
Regards
- 11-03-2007 #3Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Cheers Franklin. Was the executable thing that was throwing me!


Reply With Quote