LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-06-2004, 01:47 AM   #1
redragon7964
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Question how to run a shell script type program


i just download a file which is shell script type, how to run it?
it does work when double click or type the file name in command line
 
Old 04-06-2004, 02:03 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Usually just:

make it executable:
chmod u+x filename

execute it with:
./filename
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
a script run through a shell program... okeyla Linux - Newbie 1 09-15-2005 10:06 AM
Creating a shell script to run Java program paultaylor Programming 7 11-12-2004 03:11 PM
Shell script to run pl/sql script. colly Linux - General 1 09-09-2004 06:49 AM
run shell script in c program u4u Linux - General 1 02-14-2004 02:48 PM
Shell-Script check if $xx is of type integer d-fens Programming 5 07-11-2003 08:38 AM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration