QNA > Q > Qual È L'estensione Di Un File Eseguibile In Ubuntu?

Qual è l'estensione di un file eseguibile in Ubuntu?

Non c'è un'estensione file standard come un file ".exe" in Windows.

Su Linux quasi ogni file può essere eseguibile. La terminazione del file descrive solo (ma non necessariamente) cosa o come un file viene "eseguito".

Per esempio uno script di shell termina con .sh e viene "eseguito" tramite la shell bash.

In Ubuntu, .deb e .tar.gz sono una sorta di file .exe dove il file .deb installa il software sul vostro sistema (per favore fate attenzione!) e il file .tar.gz è un file compresso come un .zip.

Below are the Linux extensions and their significance:

  1. Linux extension |Windows Equivalent |Short description 
  2. ------------------------------------------------------------ 
  3. .so, .o | .dll | Object that can be loaded at runtime (Similar to DLL) 
  4. .a | .lib | Static library 
  5. [none], .elf(rare) | .exe, .com(rare) | Linux executables 
  6. .bin(rare) | | 
  7. .sh | .bat | Shell script 
  8. .exe | .exe | Mono application, Wine application 
  9. .deb | .msi | Installer package for Debian/Ubuntu releases 
  10. | | (Though .deb is much more powerful with  
  11. | | native support for dependencies and repos). Si noti che .deb è in realtà un archivio .ar con un file di controllo speciale, un ordine di file speciale e un'estensione diversa. 
  12. .rpm | .msi | Pacchetto di installazione per le versioni RedHat/CentOS. 
  13. .tar.gz, .tar, .gz | .zip | Compressed files that can contain a program or any other data, like images, documents, etc 
  14. .ko | .sys | Drivers and kernel modules are loaded into the Linux kernel and have more hardware access than other programs. 
  15. .sh, .php, .py, ecc| .bat | Linux è in grado di eseguire qualsiasi file per cui ha un interprete.  
  16. | | Una linea all'inizio del file chiamata shebang specifica con quale interprete eseguire il file.  
  17. | | Windows esegue solo i file .bat in questo modo.  

Di Marla Berentson

Come installare Kali Linux dopo il download in Windows 10 sia con Kali Linux che con Windows 10 :: Cosa sono .900 e .TSF sui dati di Tally ERP9? Come si aprono questi file?
Link utili