150 likes | 159 Views
Learn about the differences between PC and UNIX operating systems, including the use of UNIX for high-performance engineering workstations. Explore the UNIX command line interface and basic UNIX commands. Set up your computer accounts and learn how to log on to a PC and the SGI UNIX system.
E N D
Introduction to UNIX Lecture 4 Winter Quarter
Computing Environment • PC vs. UNIX • Many PCs use a version of the Microsoft Windows operating system (either 95/98/ME or NT/2000/XP). • UNIX is an operating system used primarily on workstations. There are versions for Personal Computers. LINUX is a version of UNIX. Winter Quarter
UNIX • Originally written by programmers for programmers at Bell Labs. • Often is the operating system of choice for high-performance engineering workstations. • Original (and still common) user interface is the "UNIX command line", although graphic user interfaces (GUIs) are available. • Names of UNIX commands tend to be a little cryptic or strange. Winter Quarter
UNIX Command Line Interface • We will use the "UNIX command line" user interface for much of the work in this class. • The availability of some limited graphic user interface capabilities is provided by special terminal emulation software. • Emulator runs on the PC and makes the PC system act like an "X-Windows" terminal. • Simple Secure-Shell terminal emulation can also be used. Winter Quarter
Some Simple UNIX Commands Winter Quarter
Your Computer Accounts • Each student actually has two separate computer system accounts: • One for the personal computers (in HI 324) • One for the UNIX system (SGI IRIX) • Each account is established only for the duration of the current quarter (i.e., the files stored under your Autumn Quarter's account(s) are gone) Winter Quarter
Your User ID and Default Password • The User ID for both of your computer accounts is simply your OSU email ID. • The default password for both accounts is: • The first letter of your last name • The first three digits of your SSN in reversed order • Your entire first name • Written as one "word" in all lowercase Winter Quarter
Figuring out Your ID & Default Password • So, as an example of a User ID and a default password, let's suppose: • Your name is "Woody Hayes" • Your SSN is 987-65-4321 • Your OSU email address is hayes.1@osu.edu • Then, Wayne Woodrow "Woody" Hayes would logon as: • User ID: hayes.1 • Password: h789wayne Winter Quarter
Default Logon for PC Systems in HI 324 • Your UNIX "default" password: • The first letter of your last name • The first three digits of your SSN in reversed order • Your entire first name • Another possible default password: • Just your University ID (your 9-digit SSN) • Attempt both of these methods and if neither work speak to the lab facilitator at the desk in 324 or your instructor. Winter Quarter
Logging On to a PC in HI 324 Windows XP Logon • Press “Ctrl - Alt - Del”, if so instructed • Fill in the new window with • Your User ID • Your Password (watch case) • The Domain (ENGR1) Winter Quarter
User Name hayes.1 Password h789wayne Domain ENGR1 Logging On to the PC Winter Quarter
Windows XP Security Login Information Log Off Change Password Cancel Changing Your Password on the PC (Press Ctrl -- Alt -- Del) Winter Quarter
Change Password User Name Domain Old Password New Password Confirm New Password Changing Your Password on the PC Winter Quarter
Logging On to the SGI UNIX System • On the PC -- • Click on Start • Go to Programs Submenu • Then go to Exceed Submenu • Then go to Exceed (Task) and Click Winter Quarter
Today's Assignment – E3 • In assignment E3, you are asked to logon on to the UNIX system and try a few commands. • In Part A, write down the command you typed for each of the seven steps. • In Part B, choose an editor program and type in the given computer program. • UNIX editor choices include: • vedit (or vi) – pico • emacs (X only) Winter Quarter