<html><!-- #BeginTemplate "/Templates/2002.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>WIT 2002 Files and Folders</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#003300" onLoad="MM_preloadImages('../../../../img/2002logo-alt-over.gif')" leftmargin="0" topmargin="20" link="#0033CC" vlink="#009933" alink="#66CC66" background="../../../../img/background2002.jpg">
<font face="Arial, Helvetica, sans-serif"> </font> <font face="Arial, Helvetica, sans-serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td rowspan="3" width="163" valign="top" align="left"> 
      <p><a href="../../../index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Logo','','../../../../img/2002logo-alt-over.gif',1)"><img name="Logo" border="0" src="../../../../img/2002logo-alt.gif" width="150" height="150"></a></p>
      <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002home.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value="."><param name="BGCOLOR" value="#006600">
              
              <embed src="/Templates/2002home.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002about.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002about.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002homerooms.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002homerooms.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002curriculum.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002curriculum.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002software.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002software.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002mentor.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002mentor.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002projects.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002projects.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002feedback.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002feedback.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002search.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002search.swf" base=""  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
      </table>
      <div align="center"></div>
          </td>
    <td valign="top" align="left" colspan="2" height="47"> 
      <h1><!-- #BeginEditable "title" --> <font color="#003300">Recipe: Use telnet 
        to manage folders on your website.</font><!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" --> 
      <a name="top"></a> 
      <center>
        <h2>&nbsp;</h2>
        <table width="75%" border="2" cellpadding="2" bordercolor="#00FF33" align="center">
          <tr align="center" valign="middle"> 
            <td width="13%"> 
              <div align="center"><a href="../index.htm">Files &amp; Folders Home</a></div>
            </td>
            <td width="10%"> 
              <div align="center"><a href="telnet.htm">Start and Connect with 
                Telnet</a></div>
            </td>
            <td width="7%"> 
              <div align="center"> 
                <p><a href="password.htm">Use Telnet to Change Passwords</a></p>
              </div>
            </td>
          </tr>
        </table>
        <p><img src="../greenbar.JPG" width="640" height="6"></p>
        <div align="left"><a href="#mac">Macintosh users, please click here.</a> 
        </div>
      </center>
      <p><font color="#990000"><font size="+1">1:&nbsp; Click Start|</font></font><font color="#990000"><font size="+1">Run, 
        and in the Run command line, type: telnet webinstituteforteachers.org</font></font></p>
      <p><img src="images/start_run_telnet.JPG" width="351" height="167"></p>
      <p><font color="#990000"><font size="+1">2:&nbsp; The telnet window opens 
        and you must type in your login (user) name.</font></font> </p>
      <p><img src="images/telnet_login.JPG" height="171" width="351"> </p>
      <p><font color="#990000"><font size="+1">3. You type in your user name and 
        press enter.&nbsp; Telnet then asks for your password.&nbsp; Type your 
        password carefully, because telnet does not show what you are typing.&nbsp; 
        When you are finished with your password, press enter.</font></font> <br>
        <img src="images/login_name_password.JPG" height="205" width="359"> <br>
        <font color="#990000"><font size="+1">4:&nbsp; A correct password will 
        get you something like the following information.</font></font> </p>
      <p>Version 2.2 <br>
        Copyright 1996-1999 Caldera Systems, Inc. </p>
      <p>login: tjones <br>
        Password: <br>
        You have old mail in /var/spool/mail/tjones <br>
        Last login: Sun Jun 24 09:32:41 2001 from cb866570-a.hmwd1.il.home.com 
        on ttyp2 <br>
        You have mail. <br>
        tjones@cuip:~&gt; </p>
      <p><font color="#990000"><font size="+1">5:&nbsp; Type the "dir" command 
        at the prompt.&nbsp; This command lists the files and folders in your 
        site.</font></font> (You can also use the command &quot;ls&quot; to list 
        files)</p>
      <p>tjones@cuip:~&gt; dir <br>
        Drafts&nbsp; Sent&nbsp; _notes&nbsp; background13_S.gif&nbsp; lg&nbsp; 
        mail&nbsp; www <br>
        tjones@cuip:~&gt; </p>
      <p><font color="#990000"><font size="+1">6. We all have a www folder in 
        our sites.&nbsp; This folder is the only one accessible by Internet browsers. 
        To work in this folder, we use the "cd" command.&nbsp; We type "cd www" 
        at the prompt.&nbsp; (cd is short for "change directory")</font></font> 
      </p>
      <p>tjones@cuip:~&gt; <br>
        tjones@cuip:~&gt; cd www <br>
        tjones@cuip:~/www&gt; </p>
      <p><font color="#990000"><font size="+1">Note that the command prompt line 
        now has the /www, which tells us we are working in the www folder.</font></font> 
      </p>
      <p><font color="#990000"><font size="+1">7. What is in the www folder.&nbsp; 
        We type "dir" (or &quot;ls&quot;) on the command line and press enter 
        to see.</font></font> <br>
        &nbsp; </p>
      <p>tjones@cuip:~/www&gt; dir <br>
        Pagefor2-20.htm&nbsp;&nbsp;&nbsp;&nbsp; filemgt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        homepg1.htm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; radioact.gif <br>
        SaveMarks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        gray\ background.gif&nbsp; macpublish.htm&nbsp;&nbsp; trash <br>
        background13_S.gif&nbsp; home.shtm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        mega_car1.gif <br>
        ccbk010.jpg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; homepg.htm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        publishmac1.GIF <br>
        tjones@cuip:~/www&gt; </p>
      <p><font color="#990000"><font size="+1">We see something like the above 
        list: a list of the files and folders in my www directory. You can usually 
        tell the difference between files and folders by looking for the file 
        names with the ending extensions, such as macpublish.htm, radioact.gif, 
        etc.&nbsp; Folders don't need the extensions.</font></font> <br>
        &nbsp; </p>
      <p><font color="#990000"><font size="+1">8.&nbsp; We want to make a folder 
        in our www folder to hold homepage files and keep them organized..&nbsp; 
        To make this new folder, we type after the prompt "mkdir" followed by 
        the name of our new folder.&nbsp; The name of my folder will be "homepage."</font></font> 
      </p>
      <p>tjones@cuip:~/www&gt; mkdir homepage <br>
        tjones@cuip:~/www&gt; </p>
      <p><font color="#990000"><font size="+1">If you type correctly, the folder 
        will be created.</font></font> </p>
      <p><font color="#990000"><font size="+1">Telnet does not tell you anything 
        more about it, unless you make a mistake, like this one:&nbsp; I already 
        had a folder named homepage, and then told telnet to make another one. 
        I got the following:</font></font> </p>
      <p>tjones@cuip:~/www&gt; mkdir homepage <br>
        mkdir: cannot make directory `homepage': File exists <br>
        tjones@cuip:~/www&gt; </p>
      <p><font color="#990000"><font size="+1">9. I can check to see if it really 
        made the folder by typing in the "dir" command.&nbsp; I should see the 
        folder in the list below.</font></font> </p>
      <p>tjones@cuip:~/www&gt; dir <br>
        Pagefor2-20.htm&nbsp;&nbsp;&nbsp;&nbsp; filemgt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        homepg.htm <br>
        SaveMarks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        gray\ background.gif&nbsp; homepg1.htm&nbsp;&nbsp;&nbsp;&nbsp; publishmac1.GIF 
        <br>
        background13_S.gif&nbsp; home.shtm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        macpublish.htm&nbsp; radioact.gif <br>
        ccbk010.jpg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; homepage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        mega_car1.gif&nbsp;&nbsp; trash <br>
        tjones@cuip:~/www&gt; <br>
        &nbsp;<font color="#990000"><font size="+1"></font></font> </p>
      <p><font color="#990000"><font size="+1">10.&nbsp; I see that I now have 
        a homepage directory for my homepage files.&nbsp; Now I need to make a 
        folder for my learning project files.&nbsp; I type "mkdir project"&nbsp; 
        at the command prompt.&nbsp; Telnet responds with:</font></font><font color="#990000"><font size="+1"></font></font> 
      </p>
      <p>tjones@cuip:~/www&gt; mkdir project <br>
        tjones@cuip:~/www&gt;<font color="#990000"><font size="+1"></font></font> 
      </p>
      <p><font color="#990000"><font size="+1">I type "dir" just to make sure 
        the folder is there, and I see:</font></font><font color="#990000"><font size="+1"></font></font> 
      </p>
      <p>tjones@cuip:~/www&gt; dir <br>
        Pagefor2-20.htm&nbsp;&nbsp;&nbsp;&nbsp; filemgt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        homepg.htm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; project <br>
        SaveMarks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        gray\ background.gif&nbsp; homepg1.htm&nbsp;&nbsp;&nbsp;&nbsp; publishmac1.GIF 
        <br>
        background13_S.gif&nbsp; home.shtm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        macpublish.htm&nbsp; radioact.gif <br>
        ccbk010.jpg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; homepage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        mega_car1.gif&nbsp;&nbsp; trash <br>
        tjones@cuip:~/www&gt;<font color="#990000"><font size="+1"></font></font> 
      </p>
      <p><font color="#990000"><font size="+1">The project folder is listed, so&nbsp; 
        I type "logout" at the command prompt, and close the program.</font></font> 
      </p>
      <h3> </h3>
      <h3>A list of common telnet commands can be found at <a href="http://www.bruserve.com/support/unix_com.html"> 
        http://www.bruserve.com/support/unix_com.html</a> .</h3>
      <h3>or <a href="http://oregonstate.edu/aw/tutorials/telnet/">http://oregonstate.edu/aw/tutorials/telnet/</a></h3>
      <h3>If you have made a mistake in creating a folder, you can remove an empty 
        folder (or directory) by typing &quot;rmdir&quot; followed by the name 
        of the directory.</h3>
      <p><a name="mac"></a>Note: These commands should work on either Windows 
        or Macintosh Comptuers. Telnet comes with the Windows operating system. 
        If you search your Macintosh for &quot;telnet&quot; you may find a telnet 
        program that you can use on your machine.</p>
      <p>If not, you may want to download and install a telnet program. </p>
      <p>There is a telnet program on the CUIP website at <a href="http://cuip.uchicago.edu/software/MAC/TELNET/">http://cuip.uchicago.edu/software/MAC/TELNET/</a>. 
        Click on <b><font color="#993300">bettertelnet-2.0fc1...</font></b> to 
        download and install. After installation, run the program and then do 
        the activity on this page.</p>
      <p></p>
      <p>Another free telnet program for Macinstosh can be downloaded at <a href="http://itprodownloads.com/filedownload?fileid=158447">http://itprodownloads.com/filedownload?fileid=158447</a>. 
      </p>
      <p><font color="#000000">Once you have found, or downloaded and installed, 
        your telnet program, you can go back to the top of this page and follow 
        the directions listed.</font></p>
      <p align="center"><font color="#000000"><a href="#top">Back to the top of 
        this page</a>.</font></p>
      <table width="75%" border="2" cellpadding="2" bordercolor="#00FF33" align="center">
        <tr align="center" valign="middle"> 
          <td width="13%"> 
            <div align="center"><a href="../index.htm">Files &amp; Folders Home</a></div>
          </td>
          <td width="10%"> 
            <div align="center"><a href="telnet.htm">Start and Connect with Telnet</a></div>
          </td>
          <td width="7%"> 
            <div align="center"> 
              <p><a href="password.htm">Use Telnet to Change Passwords</a></p>
            </div>
          </td>
        </tr>
      </table>
      <p align="center"><img src="../greenbar.JPG" width="640" height="6"></p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p align="right"><font size="2">This module was written by <a href="mailto:Tjones6565@aol.com">Terry 
        Jones</a>. </font></p>
      <center>
        <p>&nbsp;</p>
      </center>
      <!-- #EndEditable --> </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> 
      <table width="100%" border="3" cellspacing="3" cellpadding="5" bordercolor="#003300" align="left">
        <tr> 
          <td><h6 align="left"> <font color="#006600">The contents of the Web 
              Institute for Teachers website are Copyright 1999-2002, University 
              of Chicago. No one may print, copy, or otherwise reproduce these 
              materials without the express written permission of the Director 
              of the Web Institute for Teachers. </font></h6>
            <h6 align="left"><font color="#006600"> The current time is 
              <!--#config timefmt="%I:%M %p on %A %b %d, %Y"-->
              <!--#echo var="DATE_LOCAL"-->
              . This page was last modified on 
              <!--#config timefmt="%b %d, %Y" -->
              <!--#echo var="LAST_MODIFIED"-->
              . It has had 
              <!--#exec cgi="/cgi-bin/nmi/textcounter/witcounter.pl"-->
              . </font></h6>
            <h6><font color="#006600">Please use the <a href="/2002/feedback/index.htm">Feedback</a> 
              button to tell us how you like this page.</font></h6>

			  </td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
    </td>
  </tr>
</table>
</font>
</body>
<!-- #EndTemplate --></html>
