Question:

How execute able files are identifies in unix and linux operating system?

by  |  earlier

0 LIKES UnLike

what would be the extionsion

 Tags:

   Report

3 ANSWERS


  1. Linux is not windows - files are not identified by their extension although there sometimes is an unofficial naming standard for files

    (like .pl for perl scripts or .bin for binary files)

    Linux is far more sophisticated than that.

    You could rename an executable file and that would not make it unexecutable.

    Executable binary files are identified by their 'magic' which is the first few bytes of the file.

    If you use the file command like this : file <filename> it will look at the fil magic and let you know wht type of file it is


  2. Linux is not windows  - files are not identified by their extension although there sometimes is an unofficial naming standard for files

    (like .pl for perl scripts or .bin for binary files)

    Linux is far more sophisticated than that.

    You could rename an executable file and that would not make it unexecutable.

    Executable binary files are identified by their 'magic' which is the first few bytes of the file.

    If you use the file command like this : file <filename> it will look at the fil magic and let you know wht type of file it is

  3. In unix they are called .elf format or .pe format

    Deeda

    http://guitarlearningvideos.blogspot.com

    http://sharemoneytips.blogspot.com/

    http://topaccountingguide.blogspot.com/

    http://hotfreetemplates.blogspot.com/

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.