Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-28-2004, 06:06 PM   #1
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
linux "executables!

Can anybody tell me how to identify a llinux "executable" by its name?

In windows, executables usually end in "exe" of course ... there doesn't seem to be that convention in linux.

Is it possible to identify a linux executable merely by its name, and knowing nothing else abou tit?
Old 03-28-2004, 06:20 PM   #2
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
not by it's name, by it's right!

R= Read
X= eXecute

Example :

You are in /bin :
type ls -l
You will have

rwx-rwx-rwx ... ... ... EXAMPLE
usr grp others
So EXAMPLE is executable


Last edited by wiBo; 03-28-2004 at 06:21 PM.
Old 03-28-2004, 06:22 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Another way to find out what it's MEANT
to be (sometimes the permissions don't
actually match the purspose) is to use the
tool called

It will tell you whether it's an ELF executable,
some other form of executable binary (a.out,
old linux format) or a script of some sort.

Old 03-28-2004, 06:25 PM   #4
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
and they're usually green in ls color mode
Old 03-28-2004, 06:37 PM   #5
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
Cool, thanks guys. That should get me started.


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
linux executables jaristr Programming 13 03-17-2008 02:41 PM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 07:43 PM
executables and "make" command not working blahboybang Linux - General 5 12-24-2004 07:57 PM
executables in linux naren Linux - Software 3 02-18-2004 08:44 AM
snort compile errors "C compiler cannot create executables" RKris Linux - Software 2 11-07-2003 02:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 PM.

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