LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-01-2006, 05:40 PM   #1
aabfm
Member
 
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64

Rep: Reputation: 15
Doubts about script 'template'


I have a simple doubt about how to make a script in FC4.
I had this script in a machine running Mandriva 2005LE KDE that started like this:

#!/bin/bash

and it worked fine.
I recently installed FC4 on another machine on which I tried to make a new script, I used the same line to begin with but instead of running normaly it just keeps showing the KWrite editor with the script file inside to edit.
Any ideas?
Thanks in advance.
 
Old 02-01-2006, 07:04 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
is the script executable (does it have execute permission)? how are you "running" it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubts in c rajesh_b Programming 2 06-06-2005 09:54 PM
Template class with a template member... Nicholas Bishop Programming 3 02-21-2005 08:27 PM
NAT doubts vermaamitabh Linux - Networking 2 10-29-2004 09:11 AM
script doubts praveenv Linux - Newbie 1 08-14-2004 07:00 AM
Some commands doubts.... caio Linux - Software 4 05-23-2003 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration