<?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>NewSourceMedia Blog &#187; utillity</title>
	<atom:link href="http://newsourcemedia.com/blog/tag/utillity/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Fri, 30 Dec 2011 04:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Basic Terminal Commands</title>
		<link>http://newsourcemedia.com/blog/basic-terminal-commands/</link>
		<comments>http://newsourcemedia.com/blog/basic-terminal-commands/#comments</comments>
		<pubDate>Mon, 30 Jun 2003 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[computer terminal]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[terminal application]]></category>
		<category><![CDATA[utillity]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2003/06/29/basic-terminal-commands/</guid>
		<description><![CDATA[Here are a few common Terminal Commands I found to be useful for OSX/Unix newcomers like myself. Introduction: There are times that you’ll need to use the Terminal Command-Line Interface (CLI), especially when troubleshooting. Here are a few common Terminal &#8230; <a href="http://newsourcemedia.com/blog/basic-terminal-commands/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[Here are a few common Terminal Commands I found to be useful for OSX/Unix newcomers like myself.
<span id="more-254"></span><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"><strong>Introduction:</strong></span>

<strong></strong>There are times that you’ll need to use the Terminal Command-Line Interface    (CLI), especially when troubleshooting.

Here are a few common Terminal Commands I found to be useful for OS X/Unix newcomers    like myself.

<strong>Preparation:</strong>

<strong></strong>Before we start, open the application called TextEdit in the Applications    directory. Change the format to “Make Plain Text” from the “Format”    menu (note that this tutorial works with the “Make Rich Text” format    as well with a “.rtf” extension; however, I prefer the “.txt”    extension because it is the universal cross platform extension for plain text    files). Then save the file with the name “test.txt” to your Desktop

Now open the Terminal application in the Applications directory. The start up    screen will look something like this:

<em><span style="font-family: Courier New,Courier,mono;">Last login: Sun Jan 5 12:51:58 on    ttyp1
Welcome to Darwin!
[Alexander-Mclean-IIIs-Computer:~] alex%</span></em>

<em></em>Unlike the Mac OS X’s nice Aqua interface, the Terminal will display   the file data and directory structure in a raw black and white format. The Terminal    usually starts off in your home directory. (user%) So let's get started with a command-line    to change the directory to the “Desktop” directory.

<strong>Commands:</strong>

<strong>1) cd</strong>

<strong></strong>Cd is short for change directory. This will change the current directory    to the directory specified. To access the “Desktop” directory, type:

<span style="color: #006600;">cd Desktop</span>

Hit return to execute the command (do this every time to execute each command    line).

To return to your home directory, type:

<span style="color: #006600;">cd ~ </span>

But for now let's keep the path to the “Desktop” (cd Desktop).

<strong>
2) mkdir</strong>

<strong></strong>Mkdir is short for make directory (make folder). To make a test directory,    type:

<span style="color: #006600;">mkdir test</span>

<strong>3) pwd</strong>

<strong></strong>Pwd displays the path of the current directory. Type:

<span style="color: #006600;">pwd</span>

will display something like this:

<em><span style="font-family: Courier New,Courier,mono;">/Users/alex/Desktop</span></em>

<strong>
4) cp</strong>

<strong></strong>Cp is short for copy. To copy the “test.txt” file inside of the    “test” directory on the “Desktop”, type:

<span style="color: #006600;">cp /Users/alex/Desktop/test.txt test/test2.txt</span>

This placed a copy of the “test.txt” file inside the “test”    directory and named it “test2.txt”.

Notice after the command “cp” we type “pathdir+old name”    space, than “dir+new name”.

Change (cd) directory to the “test” directory (see above for help).

<strong>5) ls</strong>

<strong></strong>Ls is short for list. Ls will list files in a directory. Type:

<span style="color: #006600;">ls</span>

will output.

<span style="font-family: Courier New,Courier,mono;"><em>test2.txt</em></span>

<strong>6) mv</strong>

<strong></strong>Mv will change the name of a file. From the test directory type:

<span style="color: #006600;">mv test2.txt test3.txt</span>

Notice after the command “mv” we type “old name” space,    than “new name”. Type “ls” to check if it worked.

<strong>7) rm</strong>

<strong></strong>Rm is short for remove (delete). To remove the “test3.txt” file    inside the current directory type:

<span style="color: #006600;">rm test3.txt </span>

<span style="color: #000000;">Or remove a <strong>folder</strong> with or without items in side</span>

<span style="color: #008000;">sudo rm -rf /path/folder_name</span>

<strong>8) man</strong>

<strong></strong>Man is short for manual. For example to display the manual for “rm”    type:

<span style="color: #006600;">man rm</span>

This will display information about the “rm” command. You can type    any command after “man” to access additional information on that topic.

<strong>
9) “Q” key</strong>

<strong></strong>Q is short for quit. To escape the manual screen, hit the "Q"    key:

If you have any questions, please search or post a question to the forum.]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/basic-terminal-commands/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
