Find the answer to your Linux question:
Results 1 to 3 of 3
Newbie question: I assume that the equivalent of an ".exe" file in Linux is a ".run" file. Is this correct? If this is not correct, please let me know what ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2003
    Posts
    56

    Apps are not launching - am I doing something wrong?


    Newbie question:

    I assume that the equivalent of an ".exe" file in Linux is a ".run" file. Is this correct?

    If this is not correct, please let me know what files ARE executables (programs).

    If this is correct, then I have a problem. when I double-click a .run file, I get an alert box telling me that that file could not be found.

    Any ideas?

    Thanks,

    ----------------S

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Linux and other UNIX doesn't use file extensions as Windows/DOS does. Some files are given certain extensions by tradition, and some programs try to use the file extension to probe the file type, but it isn't dogmatically enforced as it is in Windows.
    In UNIX (and thus also Linux), a file is executable if it has the execute permission set. If you want to make a file runnable, run "chmod 755 filename". For more information on file permissions, run "info chmod" to get some info on it. In particular, see the link to "Note File permissions". You can also set permissions in the GUI file browser's property window.

  3. #3
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    If you launch a terminal and execute the command ls -l.. you willsee som e files..

    Code:
    -rw-r--r--    1 root     root         2717 Nov 27  2002 anaconda-ks.cfg
    -rw-------    1 root     root            5 Mar 20 12:09 dead.letter
    drwxr-xr-x    4 root     root         4096 Aug 20 08:20 images
    -rw-r--r--    1 root     root        11907 Nov 27  2002 install.log
    -rw-r--r--    1 root     root            0 Nov 27  2002 install.log.syslog
    -rw-------    1 root     root        11970 Mar 20 12:09 mbox
    The signs you see to the left like -rw-r--r-- are current filepermissions of the file. r=read-permissision w=write-permission x=execte-permission. On the files above you can see that root are the owner and group, the files needs the have the executebit set if you should be able to execute it. But like Dolda said read the manpages on chmod.
    Regards

    Andutt

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •