LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-05-2004, 07:56 AM   #1
sagar
LQ Newbie
 
Registered: Sep 2004
Location: Nagpur
Posts: 12

Rep: Reputation: 0
how to execute .sh file


I have downloaded listmodem.sh file. How should i execute this file? please help.
 
Old 11-05-2004, 07:57 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
From the command line:

chmod o+x ./listmon.sh
./listmon.sh
 
Old 11-05-2004, 10:54 AM   #3
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
or

sh ./listmodem.sh
 
Old 11-05-2004, 06:07 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
oops

Haha, for some reason I thought it said listmon.sh sorry. And your version is quite functional as well, but I'm lazy, so like to set the executable bit.
 
Old 11-05-2004, 06:21 PM   #5
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
sometimes I considering seting chmod -R +x / just so I can tab-complete files without having something in front of them
 
  


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
execute .el file balloon Linux - Software 2 11-16-2004 06:02 AM
how to execute a file malik Linux - Software 1 06-10-2004 08:53 PM
Execute file from webpage jeucken Programming 2 03-18-2004 02:05 PM
Why the executable file could not execute? jeson_515 Programming 3 03-14-2004 09:40 PM
cannot execute binary file.... ttaylor Linux - General 4 10-02-2001 01:37 AM


All times are GMT -5. The time now is 11:00 AM.

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