LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 08: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, 08:57 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
From the command line:

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

Rep: Reputation: 33
or

sh ./listmodem.sh
 
Old 11-05-2004, 07:07 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 AM.

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