Goal
In this laboratory it will be enough to have logged in, changed your password,
found the
browser, and used it to find and explore the course web site and syllabus. You
should bookmark the course web page. Finally, log out.
This will earn an A for the lab.
Warning -- This is the easiest lab we will do.
Future labs will involve thinking, creativity, testing ideas, fixing errors, and constructing new software.
You should find this challenging -- even after 60 years work, computer science has not found an
easy way to develop software.
In this lab, when everything works as plan we can all leave early. However, it can take the full 200 minutes to do this.
Read Me First
The first rule is to leave our computers running!
It takes time to reboot.
During your first quarter if you think you need to reboot --
ask the lab teacher or the help desk next door.
Read Me Next
At the start the teacher will show you how to get started -- take notes.
Logging in
Your should have a blue screen with a box for your "user-name", otherwise
call over your teacher.
In the menu bar, select Session->Gnome
Input your user name(this should be the same as your campus Email id) in the box provided and click the OK button.
You should get a window to input your password. This will be announced in the lab. (It is not secure and you should change it SOON). Click the OK button
Wait for the operating system to start up.
Changing your password
Follow these menus: "System" -> Preferences -> Personal -> About Me. This should open up a window
with a "Change Password..." button. Click, supply your current password and then a new secure
password (twice)...
In a terminal window (access from a remote machine) you input
passwd your_user_namethen supply you old password and tap return. Then enter your new password twice tapping return each time.
Starting a Browser
Click the icon that shows an orange "firefox" embracing the world.... of
look under Applications -> Internet -> Firefox. Wait for it to start running....
Find the lab instructions for this lab
Type the following location
http://cse.csusb.edu/dick/cs201/lab01/into the location box and tap the "Enter" Key to go to the web site for this lab session.
Find the web page for the class
Click the "button" [Index] on the second line of the lab page.
Notice that it lists events that have happened in the CS201 class. I post changes and new information every week.
Once found you should bookmark it for the future.
Find the syllabus and Open it
The link to the syllabus is at the top of the "CS201 page".
We covered this in class. You can print it out if you want a copy.
Then go "Back" to the course web page.
Find the study guide for the next class
Look for the "button" [02] on the second or third line labeled "Notes:".
Select it.... it tells you what to study...
Grade = B
If you account is OK and you get this far you have earned a B.
You can now experiment further with our systems and with the programs
you have downloaded. There are many interesting things to discover!
cat hello.cpp
g++ -o hello hello.cppThis compiles the program.
./hello
| Command | Purpose |
|---|---|
| cat | Output file to the terminal |
| g++ | Run the Gnu C++ compiler to make an executable program |
| ./program | Run program in current directory "." |
Spare time
The "Start" Menu has a large number of things -- and all of them are
safe to use. You can also access stuff on the WWW -- including your Email.
You should spend time exploring...
Logging Out
NEVER leave a machine without logging out. Horrible things can be done to your work and
reputation if others pretend to be you when you leave without logging out.
Use a right click on the desk top... and then select the System -> Logout menu...
Now you can leave.
About our Laboratories
We try to maintain world class hardware and software. So we use Linux.
This is the most popular university operating system. It is starting to be
adopted by professionals in large and small companies world wide for the
following reasons:
. . . . . . . . . ( end of section CS201 Laboratory 1 -- UNIX and X Windows) <<Contents | End>>