<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; executable files</title> <atom:link href="http://www.ghacks.net/tag/executable-files/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>How To Send An Executable File Via Gmail</title><link>http://www.ghacks.net/2011/04/26/how-to-send-an-executable-file-via-gmail/</link> <comments>http://www.ghacks.net/2011/04/26/how-to-send-an-executable-file-via-gmail/#comments</comments> <pubDate>Tue, 26 Apr 2011 13:06:55 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[email-attachments]]></category> <category><![CDATA[executable files]]></category> <category><![CDATA[gmail]]></category> <category><![CDATA[gmail error]]></category> <category><![CDATA[google-mail]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=44396</guid> <description><![CDATA[Up until today I have never tried to send an executable file via Google&#8217;s email service. When I tried that today, it looked at first as if it was not a problem. The file was uploading fine and showing up under attachments in the send message window. When I tried to send the email however, [...]]]></description> <content:encoded><![CDATA[<p>Up until today I have never tried to send an executable file via Google&#8217;s email service. When I tried that today, it looked at first as if it was not a problem. The file was uploading fine and showing up under attachments in the send message window.</p><p>When I tried to send the email however, I received an error message. It stated: Error. File.exe is an executable file. For security reasons, Google Mail does not allow you to send this type of file.</p><p>A click on OK displayed the compose message screen again, with the file still being attached to the email.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/04/gmail-error-executable-file.png" alt="gmail error executable file" title="gmail error executable file" width="483" height="166" class="alignnone size-full wp-image-44397" /></p><p>What I needed was a workaround. Sure, I could for instance upload the executable file to a file hosting website like Mediafire, and copy and paste the share file url in the email instead. That&#8217;s a possibility and not a bad one.</p><p>Then again, I prefer a more straightforward approach. I first tried zipping the file to see if that was enough to bypass the file filter on Gmail. It was not. The very same message was displayed and the email failed to send.</p><p>Next thing I tried was to zip the executable file and apply a password to the file to see if that would bypass the executable file filter which it did not as well. Both options did not yield the desired result. Gmail was still blocking the email from being send. I did some experiments with different encryption formats, and found out that 7-zip files that contain executable files can be send, while more common extensions like zip or gz are blocked.</p><p>Lastly I decided to change the file extension of the executable, from exe to txt. And lo and behold, the email went through the filters. Changing the file extension of the attachment can be problematic in itself, especially so if you are not the recipient of the email. You need to provide instructions, preferably in the message, that the file extension needs to be changed before the file can be run on the target computer.</p><p>So, if you want to send an executable as an attachment from your Gmail account, you either need to rename the file extension to bypass the filter, upload the file elsewhere and link to it in the mail body, or use a compression format like 7z. The latter being the most comfortable option if the recipient uses a tool that supports the unpacking of those files.</p><p>Is there an option that I have overlooked? Let me know in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/04/26/how-to-send-an-executable-file-via-gmail/feed/</wfw:commentRss> <slash:comments>28</slash:comments> </item> <item><title>Adding a directory to your $PATH</title><link>http://www.ghacks.net/2009/06/03/adding-a-directory-to-your-path/</link> <comments>http://www.ghacks.net/2009/06/03/adding-a-directory-to-your-path/#comments</comments> <pubDate>Wed, 03 Jun 2009 17:59:39 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[$PATH]]></category> <category><![CDATA[executable files]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2009/06/03/adding-a-directory-to-your-path/</guid> <description><![CDATA[In the Linux operating system the $PATH is a listing of all directories where the system will look for commands. What this means is that all of the commands located in the directories included in your path will be globally executable. For example: The /usr/bin directory contains quite a lot of commands that can be [...]]]></description> <content:encoded><![CDATA[<p>In the Linux operating system the $PATH is a listing of all directories where the system will look for commands. What this means is that all of the commands located in the directories included in your path will be globally executable. For example: The <strong>/usr/bin</strong> directory contains quite a lot of commands that can be excuted from within any directory on your system. Because of this you can issue the <em>ls</em> command from within any directory and get the listing of the contents of that directory. If the <em>ls</em> command wasn&#8217;t in a directory in your path you would have to include the explicite path to that command (i.e. <strong>/usr/bin/ls</strong>).</p><p>As a Linux user you can add directories to your $PATH. This is helpful when you don&#8217;t want to add a command to a directory in your $PATH but you want that command to be globally executable. Doing this is actually quite easy.</p><p><span
id="more-13264"></span><strong>What is currently in your $PATH?</strong></p><p>NOTE: This article applies only when you are using the Bash shell. To find out what directories are included in your current $PATH issue the command:</p><p><em>echo $PATH</em></p><p>You should see something like:</p><p><code>/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jlwallen/bin</code></p><p>Notice the <strong>/opt</strong> directory is missing. Often the <strong>/opt</strong> directory is a great place to &#8220;install&#8221; other applications for global use. But if this directory is not in your $PATH, you will always have to use the explicit path to call a command. With that in mind let&#8217;s add <strong>/opt</strong>.</p><p><strong>.bash_profile</strong></p><p>In order to add a directory you have to edit a file in your ~/ (home) directory. The <strong>.bash_profile</strong> file determines user specific environment and start up programs. This file also  checks for a <strong>.bashrc</strong> file for aliases and functions, but that has nothing to do with your $PATH.</p><p>There is one particular line you need to examine in your <strong>.bash_profile</strong>:</p><p><code>PATH=$PATH:$HOME/bin</code></p><p>This is the line that determines anything extra in your $PATH. As you can see, in the example above, the extra directory added to the users&#8217; $PATH is the <strong>~/bin</strong> directory. Of course in most distributions this isn&#8217;t used (or even created during installation). Why <strong>~/bin</strong> is still included I do not know. In order to add another directory to your $PATH in this line you would seperate the directories with a &#8220;:&#8221;. To add the <strong>/opt</strong> directory that line would now look like:</p><p><code>PATH=$PATH:$HOME/bin:/opt</code></p><p>As you can see the <strong>/opt</strong> directory has been added proceeding a &#8220;:&#8221;. Complete this addition and save the file. You&#8217;re not done yet.</p><p>If you issue the command <em>echo $PATH </em>you will still not see <strong>/opt</strong> in the users&#8217; $PATH. Why? You have to log out and log back in before this change will take effect. So log out, log back in, and issue the command again. Issuing the command <em>echo $PATH</em> will not issue:</p><p><code>/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jlwallen/bin:/opt</code></p><p>Any command found in the <strong>/opt</strong> directory is now global.</p><p><strong>Final thoughts</strong></p><p>The $PATH is a very powerful tool to take advantage of in Linux. By using it you can install applications in directories outside of the norm and still make them global. I often install applications in the <strong>/opt</strong> directory or will create a <strong>/data</strong> directory for a more temporary application installation.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/06/03/adding-a-directory-to-your-path/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
