faqts : Computers : Operating Systems : Linux

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 5 people (80%) answered Yes
Recently 4 of 5 people (80%) answered Yes

Entry

Linux: File: Execute: Check: How to check if a program is an executable in Linux? [file *]

Feb 26th, 2004 21:36
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 27 February 2004 - 06:34 am -------------------

Linux: File: Execute: Check: How to check if a program is an 
executable in Linux? [file *]

---

Steps: Overview:

---

 1. -Open console

 2. -Goto the directory containing that file

      cd /yourdirectory

 3. -Type on the command line:

      file *

 4. -That shows e.g.

      yourfilename1:

       ELF 32-bit LSB executable, Intel 80386, version (SYSV), for
       GNU/Linux 2.2.5, dynamically linked (uses shared libs), not
       stripped

      yourfilename2:

       ASCII C program text

      yourdirectory1:

       directory

---
---

Tested successfully in Linux Red Hat v9

---
---

Internet: see also:

---

Operating system: Linux: File: Execute: Run: How to run an executable 
program in Linux?
http://www.faqts.com/knowledge_base/view.phtml/aid/29086/fid/107


----------------------------------------------------------------------