EE1030 Introduction to UNIX (For Electrical and Computer Engineering Students) Salt Lake Community College Department of Engineering (Electrical Engineering)
1
Instructor Dr. Mohsenian Office SI 229 Phone (801) 957-4109 email
[email protected]
Course Overview This course is a one credit hour, credit/no credit offering designed to give you proficiency using Unix-based workstations. We hope that once you learn to use such workstations you will be able to exploit them in your other classes. You will learn how to use the Unix operating system, the Netscape /Explorer Web browser, and the emacs text editor, among other topics. There is no required text for the course. All the course material will be given to you as handouts. The handouts includes material, practices (in the form of try: it) which will be explained at the end of this course overview. Since at present here at Salt Lake Community College we don t have the capability of using X windows system for UNIX operating systems, we will use UNIX operating system in the form of applied commands. The College is working on X windows System. We may be able to use it by the end of this semester. However, you may use KNOPPIX (Lunix) operating system. The CD that will be provided to you could be boot from your CD ROM without being loaded to your hard drive ( usually when you are loading UNIX or LUNIX operating systems in your hard drive , there is a possibility of ruining you hard drive because of the particular partition needed for these operating systems. You may borrow or make a copy of the KNOPPIX using CD-R. If you have registered for this course there are three ways that you could have access to our UNIX operating system:
2 1. Room SI 060 a) Turn on the computer( if it is not on) b) Type the Login and password for the course ( This will be given to you in the class, it should be kept secret) c) Click to Start, Programs, sophist d) The program asks you for your login (Usually up to 6 letters of your last name and two letters of your first name. This is your user s name) e) The program asks for the password. Your password initially is your loin name but you must change it and keep it secret. If you forget your password, the computer administrator will not be able to give you your password, but will set it as your login, and you must start from d again. f) You will see $ sign which means you are Logged in Your window should look something like this: Assuming the student s name was peter Smart: login as: smartpe Sent username "smartpe"
[email protected]’s password: Last login: Fri Jun 6 16:44:34 2003 from 7cg8p01.slcc.edu Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE (SOPHIST) #2: Fri Jan 4 21:40:04 MST 2002 Connected to sophist.cs.slcc.edu (144.35.6.9) You have mail. bash: set: vi-tabcomplete: unknown option name The Moon is Waxing Gibbous (72% of Full) Oregon, n.: Eighty billion gallons of water with no place to go on Saturday night. [sophist/home/smartpe]$
3 2. Room SI 075 a) Turn on the computer( if it is not on) b) Type the Login and password for the course ( This will be given to you in the class, it should be kept secret) c) Click to Start, ( the top start above Programs), sophist d) The program asks you for your login (Usually up to 6 letters of your last name and two letters of your first name. This is your user s name) e) The program asks for the password. Your password initially is your loin name but you must change it and keep it secret(if you were not done so before). If you forget your password, the computer administrator will not be able to give you your password, but will set it as your login, and you must start from d again. f) You will see $ sign which means you are Logged in Your window should look something like this: Assuming the student s name was peter Smart: login as: smartpe Sent username "smartpe"
[email protected]’s password: Last login: Fri Jun 6 16:44:34 2003 from 7cg8p01.slcc.edu Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE (SOPHIST) #2: Fri Jan 4 21:40:04 MST 2002 Connected to sophist.cs.slcc.edu (144.35.6.9) You have mail. bash: set: vi-tabcomplete: unknown option name The Moon is Waxing Gibbous (72% of Full) Oregon, n.: Eighty billion gallons of water with no place to go on Saturday night. [sophist/home/smartpe]$
4 3. At home (if your computer has the capability of using internet) a) Type the address sophist.cs.slcc.edu (Enter) b)you load putty.exe in your hard drive c)You double click on putty.exe from your hard drive d) A screen window will ask you for host name, type sophist.cs.slcc.edu e) Chose SSH button. f) OK g) you will see sophist icon in your windows screen. h) In future if you are connected to the internet, clicking to this icon will take you to the UNIX ( Free BSD) software. i) Use your login and password, you will see the following as the previous screens; You will see $ sign which means you are logged in Your window should look something like this: Assuming the student s name was peter Smart: login as: smartpe Sent username "smartpe"
[email protected]’s password: Last login: Fri Jun 6 16:44:34 2003 from 7cg8p01.slcc.edu Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE (SOPHIST) #2: Fri Jan 4 21:40:04 MST 2002 Connected to sophist.cs.slcc.edu (144.35.6.9) You have mail. bash: set: vi-tabcomplete: unknown option name The Moon is Waxing Gibbous (72% of Full) Oregon, n.: Eighty billion gallons of water with no place to go on Saturday night. [sophist/home/smartpe]$
5
How to turn in your assignments? The easiest way that you can turn in your assignment is that, you create a text file using any word processor. Write your name, class, and assignment number on the top ( so I could understand who you are).I will use a terminology of $Try:... $. I also name the files and directories for peter smart, but you should use your login name with some underscores like smartpe_a_1 or smartpe_a_2 etc. If I say Try: login, you will highlight the following, copy and paste to your document , it should look similar to this
login as: smartpe Sent username "smartpe"
[email protected]’s password: Last login: Mon Jun 9 14:02:55 2003 from 7cg8p01.slcc.edu Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE (SOPHIST) #2: Fri Jan 4 21:40:04 MST 2002 Connected to sophist.cs.slcc.edu (144.35.6.9) You have mail. bash: set: vi-tabcomplete: unknown option name The Moon is Waxing Gibbous (74% of Full) A very intelligent turtle Found programming UNIX a hurdle The system, you see, Ran as slow as did he, And that’s not saying much for the turtle. [sophist/home/smartpe]$
Try: your_login Note: There are times that the copy is long, so I ask for your comment ( not copying) You should turn in your answer sheet as mentioned in the syllabus (inbox, floppy disk, or email to the instructor) Now let s start the computer, use one of the three mentioned methods to log into UNIX and Start Assignment #1 (OVERVIEW).