<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Frequently Asked Questions About Linux / UNIX &#187; bash interpreter spoofing</title> <atom:link href="http://www.cyberciti.biz/faq/tag/bash-interpreter-spoofing/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 03 Feb 2012 22:38:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Explain: #!/bin/bash &#045; or #!/bin/bash &#045;&#045; In A Shell Script</title><link>http://www.cyberciti.biz/faq/binbash-interpreter-spoofing/</link> <comments>http://www.cyberciti.biz/faq/binbash-interpreter-spoofing/#comments</comments> <pubDate>Tue, 23 Sep 2008 03:50:06 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[File system]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[#!/bin/bash]]></category> <category><![CDATA[bash interpreter spoofing]]></category> <category><![CDATA[double dash]]></category> <category><![CDATA[filenames]]></category> <category><![CDATA[setuid]]></category> <category><![CDATA[shebang]]></category> <category><![CDATA[shell script]]></category> <category><![CDATA[shell script security]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1879</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> I know #!/bin/bash is <a
href="http://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html">shebang line</a>. But, I noticed a few shell script shebang line ends with a single dash  ( #!/bin/bash <span
style='color: rgb(255, 0, 0);'><strong>-</strong></span> ) or double dash ( #!/bin/bash <span
style='color: rgb(255, 0, 0);'><strong>--</strong></span> ). Can you explains me purpose of such shebang line?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/binbash-interpreter-spoofing/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> </channel> </rss>
