Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Shebang [was: Evolution does write Japanese - kubuntu]
- Date: Sat, 14 Feb 2015 18:47:31 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] Shebang [was: Evolution does write Japanese - kubuntu]
- References: <54D82DF3.7050403@online.de> <54D9EF60.9000005@extellisys.com> <54DBFE2B.3060702@online.de> <54DEEA2B.5040603@extellisys.com>
Travis Cardwell writes: > > Additional question: > > What does the 2 characters "#!" in front of /bin/bash means and do? > > The first line ("#!/bin/bash") is a convention for specifying the command > to execute a script with. The "#" character generally specifies that the > line is a comment and can be ignored, but the "!" character after it > indicates that a command follows. This script is therefore executed using > /bin/bash. Note that (1) the "shebang" ("#!") is only valid on the first line (or maybe the first non-empty line), and (2) there is no "he-bang", "shebang" is short for "shell bang", and "bang" is traditional hacker slang for "!". You also have to be careful with arguments to the command, as only one is guaranteed to be passed. There are other limitations, but it's a very useful hack.
- References:
- [tlug] Evolution does write Japanese - kubuntu
- From: rost52
- Re: [tlug] Evolution does write Japanese - kubuntu
- From: Travis Cardwell
- Re: [tlug] Evolution does write Japanese - kubuntu
- From: Travis Cardwell
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Evolution does write Japanese - kubuntu
- Next by Date: Re: [tlug] Tlug Digest, Vol 110, Issue 11
- Previous by thread: Re: [tlug] Evolution does write Japanese - kubuntu
- Next by thread: [tlug] [CFP] Call for presenters - March 14 Technical Meeting
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links