The objectives of this lab are to get familiar with the systems and software you will be using in this course. Linux, the operating system you will be using for this course, is a powerful operating system (which actually works! :-)). While the features and capabilities of Linux is a never ending learning process, with just a few basic commands and concepts, you can become productive in Linux very quickly. The goal of this lab is to get you started. As the semester progresses if you see something new in lecture or the lab, or see others do useful things with Linux, ask about how to do that. You will quickly see the power, consistency, and usefulness of Linux. During this lab, the TA will show you how to do the steps described below and give you a chance to try them for yourself. Don't be afraid to explore and try different things in Linux, and ask the TA if you get stuck.
Form Teams of 3. Teams of 2 will only be allowed if there is not enough people.
If you are having trouble please ask your TA.
Teams will not be used for this Lab but this will give the instructor time to inspect the team sizes and adjust before the start of Lab 2.
vimtutor
As you have questions about how these systems work and how you can use them, be sure to ask your TA, during this lab, as well as throughout the semester.
For this class, I prefer that you use the C-shell (called csh).
If you are familiar with Unix already, and are used to some other shell, you can use that; however, you will need to modify your environment for that shell to have access to the commands provided in the ee160 account.
The default shell when your account was created is called bash. You may choose to keep using bash, but you will still need to customize your environment to use the software provided for this course.
You should do EITHER (1) or (2) below.
PATH=~ee160/bin:$PATH
cd
cp ~ee160/dotprofile_bash .profile
This step will change your login shell to csh effective the next time you login to your account. Make sure you are in your home directory using the:
cd
command. Then copy the sample file using:
cp ~ee160/dotprofile_csh .profile
(Make sure you type this command exactly as above, including the '.' in the file name.)
You should then logout (type logout) and log back in to wiliki. You will be in csh.
The next step sets up your wiliki environment to enable you to use software provided in the ee160 directory. You should do EITHER (1) or (2) below.
set path=($path ~ee160/bin)
cd
cp ~ee160/dotcshrc .cshrc
That's it! To make the changes to your environment in effect, you should either logout and then log back in, or type:
source .cshrc
To test if your environment is set up properly, try running the program:
test160
If the program runs and gives you a message, your environment is correct, go on to the next section. If you get a message:
test160: Command not found.
your environment is not correct; go back to either step (1) or (2) above and try again. See the TA if you cannot get your environment set up properly.
I also STRONGLY suggest that you create a directory for this course in your home directory on wiliki. You will be using this directory to store data and information as we go through the course. To create an EE160 directory, go to your home directory and enter:
mkdir EE160
c