<?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>Blogternals &#187; Add new tag</title>
	<atom:link href="http://www.blogternals.com/tag/add-new-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogternals.com</link>
	<description>Knowledge Belongs to the World!</description>
	<lastBuildDate>Wed, 11 Aug 2010 12:32:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The Linux Shell</title>
		<link>http://www.blogternals.com/2010/01/25/the-linux-shell/</link>
		<comments>http://www.blogternals.com/2010/01/25/the-linux-shell/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:20:08 +0000</pubDate>
		<dc:creator>Allen Sanford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Command-line interface]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[Environment variable]]></category>
		<category><![CDATA[Folder]]></category>
		<category><![CDATA[Home directory]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.blogternals.com/?p=1257</guid>
		<description><![CDATA[Image via Wikipedia Today I am going to step back a little bit and cover a subject that seems to be a pivotal make it or break it moment in most would be Linus users. For those of us who are long past the transition days between M$ and Linux, can still remember the day [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Knoppix_mr02.jpg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Knoppix_mr02.jpg/300px-Knoppix_mr02.jpg" alt="Knoppix Linux desktop" title="Knoppix Linux desktop" height="225" width="300"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Knoppix_mr02.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>Today I am going to step back a little bit and cover a subject that seems to be a pivotal make it or break it moment in most would be Linus users. For those of us who are long past the transition days between M$ and <a class="zem_slink" href="http://en.wikipedia.org/wiki/Linux" title="Linux" rel="wikipedia">Linux</a>, can still remember the day we found out that the Linux shell (a.k.a The Terminal) is where we would spend most of our time trying to customize our Linux distro, or in some cases trying to get our favorite distro working. Anyway I understand that in this day and time Linux is getting better about meeting the needs or the graphical point and click user, but still by far the shell is the most powerful tool in any Linux users arsenal. </p>
<p>So lets get started!<br />
<span id="more-1257"></span></p>
<h3>Shells</h3>
<p>The Shell is also known as the <a class="zem_slink" href="http://en.wikipedia.org/wiki/Command-line_interface" title="Command-line interface" rel="wikipedia">command line</a> for those new to Linux, and the shell is also used to execute your commands (sometimes without you even knowing it). Common examples include tcsh, bash, zsh, ksh, ash,&#8230;. However, there are two main styles: Korn Shells (bash is the main one) and C Shells (tcsh is the main one). A note about Windows shells; they suck, do not work properly, and do very little expect execute commands. Now on the contrast *nix shells are full programming environments with your imagination as the limit. Shells read your commands, interpret them and execute system process.<br />
      If the command is a built-in (eg cd skoleLinux), your shell does it internally. Otherwise, it searches the PATH environment variable for a program matching with that name. Here&#8217;s my PATH (and how to display it):</p>
<p>The difference between one shell and another lies mostly in the details of the interpretation and what built-in commands are available. The shells are the main owners/maintainers of Environment variables (eg $PATH, $CVS_RSH, $UID). One major difference between bash and tcsh is the built-in command used to set/modify your <a class="zem_slink" href="http://en.wikipedia.org/wiki/Environment_variable" title="Environment variable" rel="wikipedia">environment variables</a>.</p>
<p>In bash, to set an environment variable you do things like:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code10'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125710"><td class="code" id="p1257code10"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>X11:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>games:<span style="color: #000000; font-weight: bold;">/&lt;</span>a <span style="color: #007800;">class</span>=<span style="color: #ff0000;">&quot;zem_slink&quot;</span> <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://en.wikipedia.org/wiki/Home_directory&quot;</span> <span style="color: #007800;">title</span>=<span style="color: #ff0000;">&quot;Home directory&quot;</span> <span style="color: #007800;">rel</span>=<span style="color: #ff0000;">&quot;wikipedia&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>home<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;/</span>asanford<span style="color: #000000; font-weight: bold;">/</span>bin
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$PATH</span>
        <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>X11:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>games:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>asanford<span style="color: #000000; font-weight: bold;">/</span>bin</pre></td></tr></table></div>

<p>In tcsh, you would do:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code11'); return false;">View Code</a> TCSH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125711"><td class="code" id="p1257code11"><pre class="tcsh" style="font-family:monospace;">setenv PATH /usr/local/bin:/usr/bin
setenv PATH $PATH:/usr/bin/X11:/usr/games:/home/asanford/bin
echo $PATH
        /usr/local/bin:/bin:/usr/bin/X11:/usr/games:/home/asanford/bin</pre></td></tr></table></div>

<p>I recommend using bash. It&#8217;s the standard shell in almost any modern day Linux installation, and it&#8217;s the one most people will generally assume you are using when trying to help you out.</p>
<h3>BASH</h3>
<p>A few useful facts about bash:</p>
<p>   1. ~/.bash_profile (ie the file .bash_profile in your home dir)</p>
<p>      All commands in this file are executed when you start bash. So you can put customizations in there, such as setting environment variables. You might like to create the file with:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code12'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125712"><td class="code" id="p1257code12"><pre class="bash" style="font-family:monospace;">              <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">CVS_RSH</span>=<span style="color: #c20cb9; font-weight: bold;">ssh</span>
              <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">CVS_ROOT</span>=<span style="color: #ff0000;">&quot;:ext:asanford@cvs.example.com:/var/lib/cvs&quot;</span></pre></td></tr></table></div>

<p>      the above commands would be executed every time you login. Then you wouldn&#8217;t need to type the commands every time you want to use CVS, they&#8217;d be set every time in advance.<br />
   2. alias</p>
<p>      If you type a command a lot (eg ssh -X -C asanford@example.com): you can create a shortcut by:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code13'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125713"><td class="code" id="p1257code13"><pre class="bash" style="font-family:monospace;">      <span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">forty</span>=<span style="color: #ff0000;">&quot;ssh -t -X -C asanford@example.com &quot;</span></pre></td></tr></table></div>

<p>      so, from then on, every time you type &#8220;forty&#8221; on the command line, when bash interprets it, it will substitute the above longer string delaying your inevitable arthritis. This is something you would put in your ~/.bash_profile<br />
   3. It&#8217;s a full programming environment.</p>
<p>      Without going into gory details, it will suffice to say that you can write if, else, while, for, &#8230; etc. directly into bash and it will interpret it. For example, the following command will loop over a bunch of infidel usernames, deleting their home directories.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code14'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125714"><td class="code" id="p1257code14"><pre class="bash" style="font-family:monospace;">         <span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> asanford ksanford john
         <span style="color: #000000; font-weight: bold;">do</span>
              <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> ~<span style="color: #007800;">$i</span><span style="color: #000000; font-weight: bold;">/</span>
         <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p>   4. Wildcards and other special characters</p>
<p>      If you do</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code15'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125715"><td class="code" id="p1257code15"><pre class="bash" style="font-family:monospace;">              <span style="color: #c20cb9; font-weight: bold;">ls</span> foo_<span style="color: #000000; font-weight: bold;">*</span>.txt</pre></td></tr></table></div>

<p>      you&#8217;ll get a listing of all files beginning with &#8220;foo_&#8221; and ending &#8220;.txt&#8221; . In DOS, you can similarly do</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code16'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125716"><td class="code" id="p1257code16"><pre class="bash" style="font-family:monospace;">      <span style="color: #c20cb9; font-weight: bold;">dir</span> <span style="color: #000000; font-weight: bold;">*</span></pre></td></tr></table></div>

<p>      . However, in DOS, the dir program reads the * and evaluates it. Here, BASH evaluates the * and ls sees the list of files as its options. `ls` itself does not understand wildcards. When it interpets the command it looks for certain special characters to interpret:</p>
<p>              * means a sequence of one or more characters (a wildcard)<br />
              ? means a single character (a wildcard)<br />
              $ means the following characters make up an env variable (eg $PATH)<br />
              [acde] means a single character matching any of a,c,d or e<br />
              [0-9] means any digit<br />
              ~ shorthand for home directory</p>
<p>      As a case in point, if you are ever in a directory with a huge number of files (say 100,000) and you want to delete or list the files, you might try:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code17'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125717"><td class="code" id="p1257code17"><pre class="bash" style="font-family:monospace;">          asanford<span style="color: #000000; font-weight: bold;">@</span>shual$ <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">*</span>
          <span style="color: #c20cb9; font-weight: bold;">bash</span>: <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">rm</span>: Argument list too long</pre></td></tr></table></div>

<p>      It won&#8217;t work. This is because bash evaluates the *, all 100,000 filenames end up as arguments (options) to the command and `rm` can&#8217;t handle this. One solution is as follows explaining this in detail is outside the scope of this document but trust me it works:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1257code18'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p125718"><td class="code" id="p1257code18"><pre class="bash" style="font-family:monospace;">          asanford<span style="color: #000000; font-weight: bold;">@</span>shual$ <span style="color: #c20cb9; font-weight: bold;">ls</span> . <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">gawk</span> <span style="color: #ff0000;">'{print &quot;rm -f &quot;$1}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bash</span></pre></td></tr></table></div>

<p>      So bash launches the rm command once for each file * matches instead of once for all files. </p>
<h3>The Basics</h3>
<p>You may have noticed that each time you start Xwindows, a shell window, similar to a DOS window in Win95/98, appears. This is the powerhouse of the Linux OS, and from here you can execute copy, compile, move, find and edit commands just as easily as in dos. Unfortunately, there are different commands used in the Linux shell than in DOS, so I&#8217;ll explain a few of them. Remember that commands are case sensitive in Linux, so LS is not the same command as ls, and will return an error.</p>
<p><strong>Changing Directories</strong> &#8211; You&#8217;ll need this more often than anything.</p>
<p>Just as in DOS, the cd (Change Directory) command is used. When the <a class="zem_slink" href="http://en.wikipedia.org/wiki/Shell_%28computing%29" title="Shell (computing)" rel="wikipedia">command shell</a> opens, it opens in your own (Most of the time there are some exceptions), home directory. If you ever need to return to your own home directory, just enter cd and press return. As in DOS, to move out one level in a <a class="zem_slink" href="http://en.wikipedia.org/wiki/Folder_%28computing%29" title="Folder (computing)" rel="wikipedia">directory tree</a>, type <a class="zem_slink" href="http://en.wikipedia.org/wiki/Cd_%28command%29" title="Cd (command)" rel="wikipedia">cd ..</a> You can go to the <a class="zem_slink" href="http://en.wikipedia.org/wiki/Root_directory" title="Root directory" rel="wikipedia">root</a> directory of your Linux OS and all it&#8217;s drives by typing cd /. Note how in Linux, there is a backslash instead of a forward slash. Another thing is that Hard Disks are not mounted as drive c, drive d and so on. They are placed as folders, and to all intents and purposes look just like one big hard disk. To find out what disks are mounted, where, and what capacity they are and have left, type df (I remember this using, disk free, relating to free space). If you want to go to one of the <a class="zem_slink" href="http://en.wikipedia.org/wiki/User_%28computing%29" title="User (computing)" rel="wikipedia">user accounts</a> on your machine, you can cd ~username, and that&#8217;ll take you to where their account resides (Assuming you have permission to enter their directory).</p>
<p><strong>Need to know what is in a directory?</strong></p>
<p>DOS has that crappy dir command, but where is the Linux version? It&#8217;s replaced by ls. ls, can be remembered as a list (Acronym) of what is in that directory. It is quite confusing to look at, and its harder to separate what is a folder, what is a file, and what can be run. In DOS, there are a vast number of switched, or options, that can be added to the basic command dir to give more information. Linux is not left behind, and adds even more commands to confuse yourself with *grin*. ls -m (remember this as more), is similar to dir /w, giving horizontal lines of filenames and directory names. ls -l is a switch that will give the full names of the files, and then give the permissions of the files (Who is entitiled to execute them), and whether or not they are executable. If an X is present in the attributes, that file is a program, and can be run by typing ./nameoffile. Files can only be run if they have the ./ prefix before them. The other attributes you will learn as time progresses and you become more familiar with the Operating System. The best usage of ls, is ls &#8211;color. This gives a wide listing, with colors assigned to various file types. When using this option, directories are in blue, and executables in green. This option is by far the best. Typing ls &#8211;color can get annoying as I found after a while, so its possible to create a text file with &#8216;ls &#8211;color&#8217; contained, and then allow that file to be executed. By placing this file in the path, and changing its name to lss, you could use it quite frequently! I will show how to do this at a later date.</p>
<p><strong>File name completion</strong></p>
<p>Ok now the nicest features about a Linux shell, as opposed to the DOS shell, is that it can (if configured to do so and most distros do by default) complete file names and directory names for you. The TAB button, located above Caps-Lock, is the completion key. Once you have typed in the beginning of a file, or directory, pressing TAB will search for a list of possible file or directory names. If more than one option is presented, nothing will appear, you will most likely get some sort ot audible bell or screen flicker, and pressing TAB a second time will present a complete listing of all the available completion candidates, enter a few more characters of the option you want, and press TAB again.</p>
<p><strong>Copying files</strong></p>
<p>This is an interesting one. For copying internally between mounted drives, it&#8217;s very similar to the DOS syntax. to copy blah.xxx from the current directory to /root/, the syntax is cp blah.xxx /root/, just remember that if something is going into a lower level directory to give the full path, including the forward slash.<br />
Moving or Renaming Files</p>
<p>Again, ths syntax is very similar to the DOS syntax. If you want to rename blah.xxx to xxx.blah, the command is mv blah.xxx xxx.blah, fairly simple. If you are just relocating the file, remember that two files with the same name cannot reside in the same directory, so you will have to give a directory name, just like the description in the Copying section above.<br />
Working with MS-DOS floppy disks</p>
<p>Now one of the most useful things to now is how to wiping the screen clean and have the first line at the top of the screen or window. To clear a screen full of text, just type in `clear` from the command line</p>
<p>Any way I hope this has been a helpful introduction for someone out there.</p>
<p>Enjoy and Have a Good&#8217;n!</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=49552732-50d8-4c42-b9f1-2ea9f057143d"><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.blogternals.com/2010/01/25/the-linux-shell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Developer Resources</title>
		<link>http://www.blogternals.com/2010/01/04/free-developer-resources/</link>
		<comments>http://www.blogternals.com/2010/01/04/free-developer-resources/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 03:57:57 +0000</pubDate>
		<dc:creator>Allen Sanford</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[AudioVisual]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[Business Services]]></category>
		<category><![CDATA[Graphic designer]]></category>
		<category><![CDATA[Professional]]></category>
		<category><![CDATA[Stock footage]]></category>
		<category><![CDATA[Stock.xchng]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.blogternals.com/?p=1243</guid>
		<description><![CDATA[That’s right, I am giving away one of my secrets! I about to tell you where to get free stock resources for your next project. I know the importance of these resources and the impact that they can have on a web designer, graphic designer, bloggers or even photographers. I am also fully aware of [...]]]></description>
			<content:encoded><![CDATA[<p>That’s right, I am giving away one of my secrets! I about to tell you where to get free stock resources for your next project.  I know the importance of these resources and the impact that they can have on a <a class="zem_slink" href="http://en.wikipedia.org/wiki/Web_design" title="Web design" rel="wikipedia">web</a> designer, <a class="zem_slink" href="http://en.wikipedia.org/wiki/Graphic_designer" title="Graphic designer" rel="wikipedia">graphic designer</a>, <a class="zem_slink" href="http://en.wikipedia.org/wiki/Blog" title="Blog" rel="wikipedia">bloggers</a> or even photographers. I am also fully aware of the amount of time we spend looking for stock images/videos etc to add to our projects. Price is always a deterring, I mean determining factor when select just the <a class="zem_slink" href="http://en.wikipedia.org/wiki/Image" title="Image" rel="wikipedia">image</a> or <a class="zem_slink" href="http://en.wikipedia.org/wiki/Video" title="Video" rel="wikipedia">video</a> for a given situation. So I am going to let the cat out of the bag for those who don&#8217;t already know. The sites listed below provide professional quality up to date stocks that you might want to check  out!.</p>
<p><span id="more-1243"></span><a href="http://www.blogternals.com/wp-content/uploads/2010/01/ok.jpg"><img src="http://www.blogternals.com/wp-content/uploads/2010/01/ok-300x263.jpg" alt="" title="ok" width="300" height="263" class="alignright size-medium wp-image-1252" /></a></p>
<p><strong>For Stock Images.</strong> Some of these <a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia">websites</a> below carry more than just images, example; Stock Images,&nbsp; Textures, Backgrounds, 3D renders, Web Templates etc… Also some of these also have paid for services as well as free services.</p>
<p><a href="http://sxc.hu">stock.xchng</a><br />
<a href="http://openphoto.net">Open Photo</a><br />
<a href="http://freephotosbank.com">Free Photos Bank</a><br />
<a href="http://stockvault.net">Stock Vault</a><br />
<a href="http://freedigitalphotos.net">Free Digital Photos<br />
</a>
</p>
<p><strong>Free Stock Videos</strong> (Loops, backgrounds and countdowns etc)</p>
<p>
<a href="http://movietools.info">Movie Tools</a><br />
<a href="http://stockfootageforfree.com">Stock Footage for Free</a>
</p>
<p><strong>Free Music Loops</strong> (Vocals, sound fx etc. There are so many of these sites out there, I’m sure you know some I am missing)</p>
<p><a href="http://looperman.com">Looperman</a><br />
<a href="http://free-loops.com">Free-Loops</a></p>
<p>This is by no means a comprehensive list of resources nor is it a review just the ones I choose to use on a regular basis. Also I don&#8217;t endorse any of the sites I am just simply stating that they exist. If you feel that I need to include something then leave a comment and I will add it to the list above if I feel that it is appropriate.</p>
<p>Enjoy and Have a Good&#8217;n!</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=ac8c3134-9bd7-4961-8b47-ad4738ddb220"><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.blogternals.com/2010/01/04/free-developer-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; A Simple Start</title>
		<link>http://www.blogternals.com/2009/05/19/php-a-simple-start/</link>
		<comments>http://www.blogternals.com/2009/05/19/php-a-simple-start/#comments</comments>
		<pubDate>Tue, 19 May 2009 19:17:06 +0000</pubDate>
		<dc:creator>Allen Sanford</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.blogternals.com/?p=362</guid>
		<description><![CDATA[First I would like to say that this article makes the assumption you already have a working PHP installation. If not go here first. Alrighty then , now most tutorials will have you do the classic &#8220;Hello World!&#8221; as is customary in almost every programming language tutorial in existence, so I shall not disappoint. In [...]]]></description>
			<content:encoded><![CDATA[<p>First I would like to say that this article makes the assumption you already have a working PHP installation. If not go <a href="http://us.php.net/manual/en/install.php">here</a> first.</p>
<p>Alrighty then , now most tutorials will have you do the classic &#8220;Hello World!&#8221; as is customary in almost every programming language tutorial in existence, so I shall not disappoint. In your (DOCUMENT ROOT for our purposes we will use http://www.example.com) create a file named hello.php  and place the following in it:</p>
<p><span id="more-362"></span></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.blogternals.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=362&amp;download=hello.php">hello.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p36221"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p362code21"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!</span>DOCTYPE HTML <span style="color: #000000; font-weight: bold;">PUBLIC</span> <span style="color: #0000ff;">&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;</span>
                                   <span style="color: #0000ff;">&quot;http://www.w3.org/TR/html4/loose.dtd&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>title<span style="color: #339933;">&gt;</span>PHP Test<span style="color: #339933;">&lt;/</span>title<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Hello World&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    <span style="color: #339933;">&lt;/</span>body<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>After you copy the above file to your DOCUMENT ROOT you should be able to navigate to http://www.example.com/hello.php and your page should simple display Hello World! If you tried this example and it did not output jus the text &#8220;Hello Wolrd!&#8221;, it prompted you for a download, or you see the whole file as text, chances are that the server you are on does not have PHP enabled, or is PHP is not properly configured. You should contact your system admin your further help. It you did however get the proper output congratulations you just successfully wrote and executed your first PHP Program.</p>
<p>Now that you have created your first PHP scritp (I should really be calling these scripts as that is what they are) I am going to show you the most useful and shortest PHP script you can write. Ready don&#8217;t blink or you&#8217;ll miss it. HaHa I know it is written on a web page so how could you miss it you could just re-read it. Anyway here you go. We will call it phpinfo.php</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.blogternals.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=362&amp;download=phpinfo.php">phpinfo.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p36222"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p362code22"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #990000;">phpinfo</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Making a call to the phpinfo() function will show a lot of useful information about your system and setup such as available predefined variables, loaded PHP modules, and configuration settings. I would take a few minutes and familiarize yourself with it and all the information in it.</p>
<p>Well I promised I simple start and I believe I have delivered just that. What do you think? Any suggestions are welcome and all questions will be answered so feel free to ask away leave a comment and get your questions answered.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogternals.com/2009/05/19/php-a-simple-start/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
