Interpreter directive

An interpreter directive is a computer language construct, that on some systems is better described as an aspect of the system's executable file format, that is used to control which interpreter parses and interprets the instructions in a computer program.[1]

In Unix, Linux and other Unix-like operating systems, the first two bytes in a file can be the characters "#!", which constitute a magic number (hexadecimal 23 and 21, the ASCII values of "#" and "!") often referred to as shebang, prefix the first line in a script, with the remainder of the line being a command usually limited to a max of 14 (when introduced) up to usually about 80 characters in 2016[citation needed]. If the file system permissions on the script (a file) include an execute permission bit for the user invoking it by its filename (often found through the command search path), it is used to tell the operating system what interpreter (usually a program that implements a scripting language) to use to execute the script's contents, which may be batch commands or might be intended for interactive use. An example would be #!/bin/bash, meaning run this script with the bash shell found in the /bin directory.[2][3][4][5][6][7]

Other systems or files may use some other magic number as the interpreter directives.[citation needed]

See also

References

  1. ^ Weik, Martin H. (2000). Computer Science and Communications Dictionary. Vol. 1. Springer. p. 829. ISBN 978-0-7923-8425-0.
  2. ^ "Advanced Bash Scripting Guide". Retrieved 2012-01-19.
  3. ^ Cooper, Mendel (November 5, 2010). Advanced Bash Scripting Guide 5.3 Volume 1. lulu.com. p. 5. ISBN 978-1-4357-5218-4.
  4. ^ MacDonald, Matthew (2011). HTML5: The Missing Manual. Sebastopol, California: O'Reilly Media. p. 373. ISBN 978-1-4493-0239-9.
  5. ^ Lutz, Mark (September 2009). Learning Python (4th ed.). O'Reilly Media. p. 48. ISBN 978-0-596-15806-4.
  6. ^ Lie Hetland, Magnus (October 4, 2005). Beginning Python: From Novice to Professional. Apress. p. 21. ISBN 978-1-59059-519-0.
  7. ^ Schitka, John (December 24, 2002). Linux+ Guide to Linux Certification. Course Technology. p. 353. ISBN 978-0-619-13004-6.


Read other articles:

Balanus perforatus Balanus perforatus dengan Balanus spp. lainnya Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Subfilum: Crustacea Kelas: Maxillopoda Infrakelas: Cirripedia Ordo: Sessilia Famili: Balanidae Genus: Balanus Spesies: B. perforatus Nama binomial Balanus perforatusBruguière, 1789[1] Balanus perforatus adalah spesies teritip dalam famili Balanidae. Hal ini ditemukan di pantai lebih rendah dan di zona neritik di bagian beriklim sedang hangat dari timur Samudr...

Political party in Russia National Patriotic Forces of Russia Национально-патриотические силы РоссииAbbreviationNPSRLeaderGennady ZyuganovSergey MironovPreceded byNational Salvation FrontPeople's Patriotic Union of RussiaIdeologyRussian nationalismFactions:Left-wing nationalismSocial conservatismNeo-SovietismNational-populismNational conservatismCommunismEconomic socialismPolitical positionBig tentMembersCPRFSRZPLeft FrontPDS NPSRDPADZNSSSOPVRP...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (فبراير 2019) ترو-برو ليون 2011 تفاصيل السباقسلسلة28. ترو-برو ليونمسابقاتطواف أوروبا للدراجات 2011 1.1‏كأس فرنسا لركوب ال...

Sixpenny Handley Localidad Sixpenny HandleyLocalización de Sixpenny Handley en DorsetCoordenadas 50°57′17″N 2°00′26″O / 50.9548, -2.0073Entidad Localidad • País  Reino Unido • Nación constitutiva Inglaterra • Región Sudoeste de Inglaterra • Condado DorsetPrefijo telefónico 01725[editar datos en Wikidata] Sixpenny Handley es una localidad situada en el condado de Dorset, en Inglaterra (Reino Unido), con una población es...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Erwadi Dargah Erwadi Dorgah (Bahasa Inggris: Erwadi Dargah) ialah sebuah makam suci Islam Qutbus Sultan Syed Ibrahim Badusha yang terletak di distrik Ramanathapuram, Tamil Nadu, India. Dorgah (Dargah) jenis ni menjadi salah satu pusat agama Islam di Ta...

Order awarded by the monarch of New Zealand Queen's Service OrderMale Companion's Badge of the Queen's Service Order for Community ServiceAwarded by the Monarch of New ZealandEstablished13 March 1975CountryNew ZealandFounderElizabeth IISovereign HeadCharles IIIPost-nominalsQSOStatisticsLast induction31 December 2022Total inductees219[1]PrecedenceNext (higher)New Zealand Bravery StarNext (lower)Officer of the New Zealand Order of MeritRelatedQueen's Service MedalRibbon of the Queen's S...

District of São Paulo, Brazil You can help expand this article with text translated from the corresponding article in Portuguese. (April 2010) Click [show] for important translation instructions. View a machine-translated version of the Portuguese article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-tr...

Use of light in the visible spectrum as a telecommunication medium Visible light is only a small portion of the electromagnetic spectrum. In telecommunications, visible light communication (VLC) is the use of visible light (light with a frequency of 400–800 THz/wavelength of 780–375 nm) as a transmission medium. VLC is a subset of optical wireless communications technologies. The technology uses fluorescent lamps (ordinary lamps, not special communications devices) to transmit s...

O New Works Programme de 1935-1940 foi o principal programa de investimento entregue pelo London Passenger Transport Board (LPTB), comumente conhecido como London Transport, criado em 1933 para coordenar trens subterrâneos, bondes elétricos e serviços de ônibus em Londres e nos arredores. O programa visava desenvolver muitos aspectos dos serviços de transporte público operados pela LPTB e os serviços ferroviários suburbanos da Great Western Railway (GWR) e da London and North Eastern ...

Israeli alternative rock band Monica SexMonica Sex, 2012Background informationOriginTel Aviv, IsraelGenresRock, alternative rock, pop rockYears active1993–19962000–presentLabelsHed ArtziMembersYali SobolPeter RothShahar Even TzurSeffy EfratiPast membersEldad GuettaYossi Hamami Monica Sex (Hebrew: מוניקה סקס; also spelled Monika Sex) is an Israeli alternative rock band. History Formation and Wounds and Kisses (1993–1995) The band was formed in 1992 in Tel Aviv, by Yali Sobol as ...

Een spel Galgje in volle gang. Galgje, in het Engels bekend als Hang Man (hangende man) is een spelletje waarbij een woord moet worden geraden door middel van het raden van individuele letters, waarbij de spelers die het woord moeten raden maar een beperkt aantal fouten mogen maken. De fouten worden weergegeven door een galg met daaraan een hangend mannetje (een stokfiguur), welke per fout steeds verder wordt opgebouwd. Uit hoeveel onderdelen de galg bestaat varieert per persoon en regio, maa...

American basketball player (born 1980) David WestWest with the New Orleans Hornets in 2011Personal informationBorn (1980-08-29) August 29, 1980 (age 43)Teaneck, New Jersey, U.S.Listed height6 ft 9 in (2.06 m)Listed weight250 lb (113 kg)Career informationHigh school Garner(Garner, North Carolina) Hargrave Military Academy(Chatham, Virginia) CollegeXavier (1999–2003)NBA draft2003: 1st round, 18th overall pickSelected by the New Orleans HornetsPlaying career2003...

Species of lizard Boettger's wall gecko Conservation status Least Concern (IUCN 3.1)[1] Scientific classification Domain: Eukaryota Kingdom: Animalia Phylum: Chordata Class: Reptilia Order: Squamata Family: Phyllodactylidae Genus: Tarentola Species: T. boettgeri Binomial name Tarentola boettgeriSteindachner, 1891 Boettger's wall gecko (Tarentola boettgeri), also commonly known as the Gran Canaria gecko, is a species of lizard in the family Phyllodactylidae. The species is na...

Street in Manhattan, New York Broad StreetThe New York Stock Exchange Building (right) at Broad and Wall StreetsPart ofFinancial District of Lower ManhattanCoordinates40°42′18″N 74°00′42″W / 40.7050°N 74.0116°W / 40.7050; -74.0116ConstructionCompletion1676 Broad Street is a north–south street in the Financial District of Lower Manhattan in New York City. Originally the Broad Canal in New Amsterdam, it stretches from today's South Street to Wall Street. Th...

Former constellation For the genus of moths, see Noctua (moth). For the computer accessories company, see Noctua (company). Card 32 of Urania's Mirror depicts Noctua the owl, perched on the tail of Hydra, the serpent. Noctua (Latin: owl) was a constellation near the tail of Hydra in the southern celestial hemisphere, but is no longer recognized.[1] It was introduced by Alexander Jamieson in his 1822 work, A Celestial Atlas, and appeared in a derived collection of illustrated cards, Ur...

1940 killing of Romanians by Hungarian forces Ip massacreHungarian troops marching in nearby Zalău, five days earlierLocationIpp,  Kingdom of Hungary (present-day Ip, Sălaj, Romania)Coordinates47°13′45″N 22°36′22″E / 47.22917°N 22.60611°E / 47.22917; 22.60611Date13/14 September 1940 03:00 (CET)Attack typegenocide (targeted killing of the local ethnic Romanians), ethnic cleansing, reprisalWeaponsMachine guns, rifles, revolvers, bayonetsDeathsbetween 1...

French archaeologist (1778–1867) For other uses, see Champollion (disambiguation). Jacques-Joseph Champollion-FigeacBorn5 October 1778FigeacDied9 May 1867 (aged 88 years)FontainebleauNationalityFrenchKnown forBrother of Jean-François ChampollionScientific careerFieldsarchaeologyInstitutionsChâteau de Fontainebleau Jacques-Joseph Champollion-Figeac (French: [ʃɑ̃pɔljɔ̃ fiʒak]), also known as Champollion l'aîné ('the Elder'; 5 October 1778 – 9 May 1867) was a French a...

Chinese MoluccasChinese Ternate Family (1870)Regions with significant populationsAmbonTernateDoboSaumlakiLanguagesIndonesian, AmbonReligionChristian Chinese Maluku are a community of Chinese Indonesians who live in the Maluku region.[1][2] History Maluku has been recorded in the tambo of the Tang dynasty in China (618-906) which mentions 'Miliku', namely an area used as a benchmark for determining the direction to the kingdom of Holing (Kalingga) in the west. WP Groenveldt est...

Motor vehicle Renault ModusOverviewManufacturerRenaultAlso calledRenault Grand ModusProductionAugust 2004–December 2012AssemblySpain: Valladolid (Renault Spain)Body and chassisClassMini MPV (M)Body style5-door mini MPVLayoutFront-engine, front-wheel-drivePlatformAlliance B platformRelatedRenault ClioPowertrainEnginePetrol:1.2 L D4F 16V I41.2 L D4FT 16V turbo I41.4 L K4J 16V I41.6 L K4M 16V I4Diesel:1.5 L K9K common rail I4Transmission5-speed manual6-speed manual4-speed automatic5-...

This article is about the church in Bow, Tower Hamlets. For the City of London church with the famous bells, see St. Mary-le-Bow. For the station, see Bow Church DLR station. Church in EnglandBow ChurchSt Mary's Church, BowBow Church in 2008CountryEnglandDenominationChurch of EnglandWebsitewww.bowchurch.org.ukHistoryFounded17 November 1311AdministrationDivisionTower HamletsDioceseLondonParishParish of St Mary and Holy Trinity, Stratford, BowClergyRectorTim May Bow Church is the parish church ...