LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-21-2009, 12:08 AM   #1
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Rep: Reputation: 15
Execute file


How Do I make a file a executable program ?
 
Old 12-21-2009, 12:09 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Try
Quote:
chmod +x filename
 
Old 12-21-2009, 05:47 AM   #3
zyrax
LQ Newbie
 
Registered: Dec 2009
Distribution: Ubuntu/Debian
Posts: 8

Rep: Reputation: 1
Or if you are using GNOME (default Ubuntu/Fedora/Debian GUI), right click, click properties, then permissions and check the "Allow executing file as program" box
 
Old 12-21-2009, 08:57 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by Xzibit View Post
How Do I make a file a executable program ?
chmod +x filename
man chmod
 
  


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
gcc will not execute, responds with 'no such file or directory' and 'no input file' nckeecho Ubuntu 9 07-24-2016 01:04 PM
File Permission - Read an execute only file e_x_p Linux - Security 1 12-16-2009 07:08 AM
How do i execute the file within vi . pinga123 Linux - Newbie 26 10-31-2009 10:55 AM
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-21-2007 11:43 PM
cannot execute binary file on a selfx file brucifer Linux - Software 4 03-21-2006 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 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