<?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"
	>

<channel>
	<title>WVU - Open Source University</title>
	<atom:link href="http://www.wvuopensource.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.wvuopensource.org</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 11 Nov 2008 19:13:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>WVU Software Freedom Festival 2008</title>
		<link>http://www.wvuopensource.org/?p=35</link>
		<comments>http://www.wvuopensource.org/?p=35#comments</comments>
		<pubDate>Tue, 11 Nov 2008 19:13:09 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Education]]></category>

		<category><![CDATA[Partners]]></category>

		<guid isPermaLink="false">http://www.wvuopensource.org/?p=35</guid>
		<description><![CDATA[Join us for a two day celebration of open-source software! Events include technical talks, software demonstrations, and movies.
November 17-18 2008
All events are in the NRCCE Atrium. The NRCCE is the building next to the Engineering Research Building.
All are welcome, novice or expert! This event is open to the public, not just WVU students. 
Schedule:
November 17th
5:00 [...]]]></description>
			<content:encoded><![CDATA[<p>Join us for a two day celebration of open-source software! Events include technical talks, software demonstrations, and movies.</p>
<p>November 17-18 2008<br />
All events are in the NRCCE Atrium. The NRCCE is the building next to the Engineering Research Building.</p>
<p>All are welcome, novice or expert! This event is open to the public, not just WVU students. </p>
<p><strong>Schedule:<br />
November 17th</strong></p>
<li>5:00 PM - Keynote: Tim Menzies
<li>6:00 PM - Movie: Revolution OS
<p><strong>November 18th</strong></p>
<li>5:00 PM - Speaker: Tim McGraw -  Occlusion Mapping in OpenGL
<li>5:45 PM - Speaker: Gregory Gay - Command Line Tips &#038; Tricks
<li>6:15 PM - Speaker: TBD
<li>6:45 PM - Movie: Antitrust
<p>Note: This is still subject to change. Please keep checking for the latest information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wvuopensource.org/?feed=rss2&amp;p=35</wfw:commentRss>
		</item>
		<item>
		<title>Terminal Basics</title>
		<link>http://www.wvuopensource.org/?p=27</link>
		<comments>http://www.wvuopensource.org/?p=27#comments</comments>
		<pubDate>Wed, 13 Aug 2008 02:12:08 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.wvuopensource.org/?p=27</guid>
		<description><![CDATA[
In the Beginning&#8230;
In the beginning, there was no graphical interface. We had to type all of our commands while walking to school in the snow, uphill both ways. These days, we have pretty flashy interfaces that do everything for us. Still, someday the need will arise, and you will have to learn how to use [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.wvuopensource.org/wp-content/uploads/2008/08/term.png" alt="" title="terminal" width="486" height="197" class="alignnone size-full wp-image-30" /></p>
<p><strong>In the Beginning&#8230;</strong></p>
<p>In the beginning, there was no graphical interface. We had to type all of our commands while walking to school in the snow, uphill both ways. These days, we have pretty flashy interfaces that do everything for us. Still, someday the need will arise, and you will have to learn how to use the command line.</p>
<p>Don&#8217;t worry! It&#8217;s actually pretty easy, and the only truly efficient way to do certain things. You might even come prefer it (we have kool-aid).  </p>
<p>There are a bunch of different command line interfaces out there, but you&#8217;ll probably only end up using the bash (bourne again shell). We&#8217;re just going to teach you the bare essentials, which are pretty consistant for all shell types.</p>
<p><span id="more-27"></span></p>
<p><strong>Basic Commands</strong></p>
<p><u>Display Current Directory</u></p>
<blockquote><p>
pwd
</p></blockquote>
<p>Once you&#8217;ve opened up the terminal, you&#8217;re just stuck there, adrift in your home directory. You probably want to know where you are. <i>pwd</i>, short for present working directory, does just that. It tells you where you are.</p>
<p><u>Listing Contents of a Directory</u></p>
<blockquote><p>
ls
</p></blockquote>
<p>This will probably be your most used command. ls lists all of the files in the current directory (or in a different directory if listed after the <i>ls</i>). </p>
<p><u>Change Directory</u></p>
<blockquote><p>
cd [directory path]<br />
cd .. (goes up one level)<br />
cd ~ (goes to your home directory)
</p></blockquote>
<p>Now, you probably want to know how to change directories. The <i>cd</i> command will handle that. Give it the directory that you want to switch to.</p>
<p><u>Copy and Move Files</u></p>
<blockquote><p>
cp [file] [new location/file name]<br />
mv [file] [new location/file name]
</p></blockquote>
<p>These are pretty straightforward. <i>cp</i> copies files to whichever location you want them. The copy can have a different name. <i>mv</i> moves files, and can be used to rename them.</p>
<p><u>Delete Files</u></p>
<blockquote><p>
rm [file name]<br />
rmdir [directory name]
</p></blockquote>
<p>As you can probably guess, <i>rm</i> is used to remove files. <i>rmdir</i> is used to remove directories. By default, a directory cannotnt be deleted unless it is empty. To bypass that, use <i> rm -rf [directory name]</i></p>
<p><u>Make Directories</u></p>
<blockquote><p>
mkdir [directory name]
</p></blockquote>
<p>Want to make a new directory for your files? Just use <i>mkdir</i>.</p>
<p><u>Print contents of files</u></p>
<blockquote><p>
echo [string]<br />
cat [filename]<br />
cat [filename] | less (displays the text of a file a few lines at a time)
</p></blockquote>
<p><i>echo</i> and <i>cat</i> are both used to print text to the string. <i>echo</i> is commonly used to print strings of text or the value of system variables. <i>cat</i> is often used to display the text of files. </p>
<p><u>Find Files and Directories</u></p>
<blockquote><p>
find [filename]<br />
locate [filename]
</p></blockquote>
<p>The <i>find</i> command will hunt down any file on your system and tell you where it is. Nothing is safe. </p>
<p><u>Look up Commands</u></p>
<blockquote><p>
apropos [keyword]
</p></blockquote>
<p>The final basic command that we&#8217;ll teach you is the <i>apropos</i> command. <i>apropos</i> is a search tool that can be used to find any command related to your keyword. For instance, <i>apropos browser</i> would find things like firefox. </p>
<p><strong>Running Your Programs</strong></p>
<p>	<u>Java</u></p>
<blockquote><p>
javac [filename.java]<br />
java [filename]
</p></blockquote>
<p>To run your Java programs, you must first compile them with <i>javac</i>. This creates an executable .class file, which can be run with <i>java</i> followed by the filename. </p>
<p><u>C/C++</u></p>
<blockquote><p>
gcc [filename.c] -o [executable name]<br />
g++ [filename.c] -o [executable name]<br />
./[executable name]
</p></blockquote>
<p>To compile your program, first use the appropriate compiler. <i>gcc</i> for C language files and <i>g++</i> for C++ programs. After that, you can run your executable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wvuopensource.org/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
		<item>
		<title>An Introduction to Ubuntu Linux</title>
		<link>http://www.wvuopensource.org/?p=16</link>
		<comments>http://www.wvuopensource.org/?p=16#comments</comments>
		<pubDate>Wed, 13 Aug 2008 01:45:03 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.wvuopensource.org/?p=16</guid>
		<description><![CDATA[
Don&#8217;t Be Afraid
Take a deep breath. I understand, you&#8217;re used to Windows. This is a brave new world for you. The good news? Linux is easier than ever to use. Forget what you&#8217;ve heard. Linux isn&#8217;t just for the hardcore. In fact, a few things are even easier to use in Linux than in other [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.wvuopensource.org/wp-content/uploads/2008/08/1-300x91.png" alt="" title="ubuntulogo" /></p>
<p><strong>Don&#8217;t Be Afraid</strong></p>
<p>Take a deep breath. I understand, you&#8217;re used to Windows. This is a brave new world for you. The good news? Linux is easier than ever to use. Forget what you&#8217;ve heard. Linux isn&#8217;t just for the hardcore. In fact, a few things are even easier to use in Linux than in other operating systems. </p>
<p>Just sit back and keep reading. We&#8217;ll explain a few of the key differences between operating systems and help ease your transition into the open-source world. </p>
<p><span id="more-16"></span></p>
<p><strong>What is Linux?</strong></p>
<p><img src="http://www.wvuopensource.org/wp-content/uploads/2008/08/stallmanlinus-300x99.jpg" alt="" title="stallmanlinus" /></p>
<p>Before we really get started, you may want to know exactly what Linux is and a little of its backstory. Like many of these stories, it all began with MIT and AT&amp;T Bell Labs. Back in the 60s, they developed an operating system called Multics. Multics kind of sucked, and a couple of guys at Bell Labs began working on a new operating system called Unix.</p>
<p>However, there was still a big problem with Unix. It wasn&#8217;t free. In 1984, Richard Stallman began the GNU project with the intention of creating a variant of Unix made entirely of open-source software. They did piece together an incredible collection of utilities, but they lacked the most important component - the kernal. The kernal is the very heart of the operating system. It is the control point, the brain. An operating system cannot operate without a kernal.</p>
<p>In 1991, Linus Torvalds, a student at the University of Helsinki, decided to write his own operating system. He used the Unix-based Minux as his starting point. From there, he developed his own kernal, which he named Linux. The GNU Project had found its kernal. </p>
<p>These days, there are dozens upon dozens of &#8220;Linux&#8221; operating systems. Which ones are Linux? Why isn&#8217;t there one Linux? This is a slightly confusing topic to any Linux newbie, which is pretty understandable. Linux is actually just the kernal portion of the operating system. Technically, any operating system using that kernal can call itself Linux. All Windows operating systems have kernals, too. The recent editions of Windows use the Windows NT kernal. So, the short answer is that all of these operating systems are &#8220;Linux.&#8221; They all also have their own features and uses. LOUD (the CSEE maintained version of Linux) is based on the Ubuntu Linux operating system.</p>
<p>Ubuntu is based on the Debian Linux operating system. Ubuntu has placed its focus on making Linux easy to use for anyone. Ubuntu is also notable for its stable release schedule. New releases are made every six months according to a strict schedule.</p>
<p><strong>Getting Ubuntu</strong></p>
<p>If you&#8217;re a student in the CS department, you already have access to Ubuntu. LOUD, a special variant, is installed on every lab machine. Go to the Helpdesk office in 701 ESB and ask for a copy. </p>
<p>You can download a copy of Ubuntu or request free CDs from <a href="http://www.ubuntu.com/getubuntu/download" target="_blank">here.</a></p>
<p><strong>Important System Locations</strong></p>
<p>We thought you might want to know where some of your files are. Here is a handy diagram of the Unix/Linux file hierarchy. Your own files will most reside in /home/[username]. This could be thought of as being similar to &#8220;My Documents&#8221; in Windows. Most executable programs will reside in /usr/bin.   </p>
<blockquote><p>
(Reprinted from: http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilestruct.html)</p>
<p>/			- Root<br />
|&#8212;root		- The home directory for the root user<br />
|&#8212;home		- Contains the user&#8217;s home directories<br />
|    |&#8212;-ftp		- Users include many services as listed here<br />
|    |&#8212;-httpd<br />
|    |&#8212;-samba<br />
|    |&#8212;-user1<br />
|    |&#8212;-user2<br />
|&#8212;bin			- Commands needed during bootup that might be needed by normal users<br />
|&#8212;sbin		- Like bin but commands are not intended for normal users.  Commands run by LINUX.<br />
|&#8212;proc		- This filesystem is not on a disk.  Exists in the kernels imagination (virtual).  This directory<br />
|    |			- Holds information about kernel parameters and system configuration.<br />
|    |&#8212;-1		- A directory with info about process number 1.  Each process<br />
|				has a directory below proc.<br />
|&#8212;usr			- Contains all commands, libraries, man pages, games and static files for normal<br />
|    |			operation.<br />
|    |&#8212;-bin		- Almost all user commands.  some commands are in /bin or /usr/local/bin.<br />
|    |&#8212;-sbin		- System admin commands not needed on the root filesystem.  e.g., most server<br />
|    |			programs.<br />
|    |&#8212;-include	- Header files for the C programming language.  Should be below /user/lib for<br />
|    |			consistency.<br />
|    |&#8212;-lib		- Unchanging data files for programs and subsystems<br />
|    |&#8212;-local		- The place for locally installed software and other files.<br />
|    |&#8212;-man	- 	Manual pages<br />
|    |&#8212;-info		 - Info documents<br />
|    |&#8212;-doc		- Documentation for various packages<br />
|    |&#8212;-tmp<br />
|    |&#8212;-X11R6		- The X windows system files.  There is a directory similar to usr below this<br />
|    |			directory.<br />
|    |&#8212;-X386		- Like X11R6 but for X11 release 5<br />
|&#8212;boot		- Files used by the bootstrap loader, LILO.  Kernel images are often kept here.<br />
|&#8212;lib			- Shared libraries needed by the programs on the root filesystem<br />
|    |&#8212;-modules 	- Loadable kernel modules, especially those needed to boot the system after<br />
|			 disasters.<br />
|&#8212;dev			- Device files for devices such as disk drives, serial ports, etc.<br />
|&#8212;etc			- Configuration files specific to the machine.<br />
|    |&#8212;-skel		- When a home directory is created it is initialized with files from this directory<br />
|    |&#8212;-sysconfig 	- Files that configure the linux system for networking, keyboard, time, and more.<br />
|&#8212;var			- Contains files that change for mail, news, printers log files, man pages, temp files<br />
|    |&#8212;-file<br />
|    |&#8212;-lib		- Files that change while the system is running normally<br />
|    |&#8212;-local		- Variable data for programs installed in /usr/local.<br />
|    |&#8212;-lock		- Lock files.  Used by a program to indicate it is using a particular device or file<br />
|    |&#8212;-log		- Log files from programs such as login and syslog which logs all logins,<br />
|    |			logouts, and other system messages.<br />
|    |&#8212;-run		- Files that contain information about the system that is valid until the system is<br />
|    |			next booted<br />
|    |&#8212;-spool		- Directories for mail, printer spools, news and other spooled work.<br />
|    |&#8212;-tmp		- Temporary files that are large or need to exist for longer than they should in<br />
|    |			/tmp.<br />
|    |&#8212;-catman	- A cache for man pages that are formatted on demand<br />
|&#8212;mnt			- Mount points for temporary mounts by the system administrator.<br />
|&#8212;tmp			- Temporary files.  Programs running after bootup should use /var/tmp.
</p></blockquote>
<p><strong>The Package Manager</strong></p>
<p>Synaptic, the Ubuntu package manager, is one of the most powerful features of the operating system. On Windows, you are probably used to searching endlessly for the right site to download the program you need. You then manually install it. A few months later, you have no idea if an update has been released.</p>
<p>Synaptic changes all of that. The package manager maintains a fairly comprehensive list of programs available to you. You can search for anything that you might want and install it right there. Synaptic maintains a database of what applications that you have installed and automatically informs you when an update is ready. It&#8217;s simple to use, just open it from the <i>System->Administration</i> menu. </p>
<p><img src="http://www.wvuopensource.org/wp-content/uploads/2008/08/synaptic.png" alt="" title="synaptic" width="450" height="352" class="alignnone size-full wp-image-24" /></p>
<p>Click search or use the categories on the left to find what you are looking for. If you want to install it, click the checkbox. When you have chosen all of the programs that you want, click &#8220;Apply.&#8221; You&#8217;re done. See, simple!</p>
<p><strong>Programs Available</strong></p>
<p>You&#8217;ll probably be pleasently surprised to find that some of the programs that you&#8217;ve used before are available in Linux. For others, there are powerful open-source alternatives. </p>
<p><u>The Internet</u></p>
<p>For web browsing, the default option open to you is Mozilla&#8217;s Firefox browser. You are probably used to it already, as millions and millions of Windows users have already switched to it. Its open-source nature has made it far more extendable and far less of a security risk than Microsoft&#8217;s Internet Explorer.</p>
<p>If you are an AIM user, take a look at Pidgin messenger. It is an open-source version of AIM, with all of the features of the standard version.</p>
<p><u>Word Processing/Office</u></p>
<p>Ubuntu includes OpenOffice.org as its office suite. Just like Microsoft Office, OpenOffice has applications for word processing, spreadsheets, presentations, and databases. OpenOffice is compatable with files that have been created in Microsoft Office, so all of your older work can still be seen and edited.</p>
<p><u>Music</u></p>
<p>There are dozens of music applications in Linux, but we have to recommend Amarok without a doubt. Amarok&#8217;s interface should be familiar to any iTunes user. Your library is right there, you cna easily create your own playlists. There is built-in last.fm integration. Own an iPod? Amarok&#8217;s iPod support it top-notch.</p>
<p><u>Image Editing</u></p>
<p>The GIMP image editor is the closest thing to Photoshop in Ubuntu. It obviously isn&#8217;t as feature-rich, but it is completely free. You can also write your own image-altering filters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wvuopensource.org/?feed=rss2&amp;p=16</wfw:commentRss>
		</item>
	</channel>
</rss>
