Macintosh and Unix: A Brief Introduction.

14
Macintosh and Unix: A Brief Introduction. Sponsored by: Instructional Computing Created by: Jason Cox

description

Sponsored by: Instructional Computing Created by: Jason Cox. Macintosh and Unix: A Brief Introduction. Macintosh. UMSL has recently upgraded from (what is now known as “Classic” Mac) OS 9, to OS X (specifically 10.2). So what is the difference, and why did we switch?. OS X - PowerPoint PPT Presentation

Transcript of Macintosh and Unix: A Brief Introduction.

Page 1: Macintosh and Unix: A Brief Introduction.

Macintosh and Unix:A Brief Introduction.

Sponsored by: Instructional ComputingCreated by: Jason Cox

Page 2: Macintosh and Unix: A Brief Introduction.

Macintosh

Page 3: Macintosh and Unix: A Brief Introduction.

OS 9 Based on Apple's own

proprietary core

● Applications are only compatible with OS X via emulation

OS X Based on a UNIX Varient

called “Free BSD”

Faster

More stable

More secure

We now only support 2 platforms.

UMSL has recently upgraded from (what is now known as “Classic” Mac) OS 9, to OS X (specifically 10.2). So what is the difference, and why did we switch?

Page 4: Macintosh and Unix: A Brief Introduction.

So why teach Macintosh and UNIX in the same course?

Macintosh is based on UNIX. An understanding of UNIX brings a better understanding of the Macintosh's.

The new G5's have replaced the old Sun Sparc machines – this is the new main way to access our UNIX servers.

Macintosh

UNIX

Page 5: Macintosh and Unix: A Brief Introduction.

Mounted Samba Account

Mounted USB Memory

Stick

MountedCD-ROM

Dock

Menubar

Trash Can Delete

My Gateway icon

Applications Folder

LogoutSAMBASteamboat or

Admiral

Terminal

Microsoft Office

ToastCD-DVD Burning

Mozilla Browser

Safari BrowserFinder

Volume

Page 6: Macintosh and Unix: A Brief Introduction.

Winter 2004 Mac Software ● OSX Native Software● Microsoft Office X● Final Cut Pro 4 (VE stations only)● Toast Titanium● 3D drill design (MB105 Instructor Station)● Apple remote desktop 1.2 (MB105 and CC107 instructor

stations)● IPA Laser Alphabet Font● Practica Musica● Stuffit Deluxe ● Transmit FTP● Macromedia Studio MX 2004

(Freehand, Flash, Dreamweaver, and Fireworks)● Adobe Illustrator CS● Adobe inDesign CS● Adobe PhotoShop CS● Boris Continuum (VE stations only)● Inspiration 7.5● Master Tracks pro● Quark Express● Sound Studio● Timesketch editor ● X11● iDVD● iMovie

iPhoto● iTunes● Auralia● Melody Assistant X● VIM

● Classic Software

● Bioquest Library Vol V● Ecobeaker● Maclade 4.0● PAUP 4.0● Biology Lab Series● Clean Act● Interact● Autoharp Practice● Bell Magic● Mosaicos

Page 7: Macintosh and Unix: A Brief Introduction.

Some tips...

Make sure you log out! This is to protect your files and to make sure you don't get blamed for others' actions.When you log out, all the local files on the computer are deleted. Save your work!Samba is a great way to transfer, save, and store files. Use it!Use the help menu! It's there for a reason!

Page 8: Macintosh and Unix: A Brief Introduction.

UNIX

Page 9: Macintosh and Unix: A Brief Introduction.

A Word of Warning

There are some very important distinctions to make when dealing with our UNIX servers on the Macs:

✔ The Macs are not our UNIX servers!✔ When you log into a UNIX server, your Admiral files are on

a seperate machine – not on the Mac. Local files are on the Mac, not on the server.

✔ Printing files on the UNIX servers and printing them on the Macs are done in different ways.

Page 10: Macintosh and Unix: A Brief Introduction.

Getting to our UNIX servers

1.Open a terminal2.Type in ssh [email protected] your password

Enjoy!

Page 11: Macintosh and Unix: A Brief Introduction.

The File Tree

(root) /

/home/jason

dir_d

dir_adir_b dir_c

ITS

dir_a dir_bdir_c

Note the capitals!

.. Moves “up” the file tree

. An alias for your current working directory (CWD)

Page 12: Macintosh and Unix: A Brief Introduction.

Basic Commandsman- Displays help on different topicspwd- Displays where you are in the file treecd - Changes directoriesls - Displays the files in the current directorylpr - Prints out filesvi - A text editor (think of it like Notepad)mv - moves or renames a file or directory syntax: mv [options] sources targetrm -removes a file syntax: rm [options][files]rm –ir -removes a directory

Page 13: Macintosh and Unix: A Brief Introduction.

More Unix Commands

Mkdir - creates new directorysyntax: mkdir [options] directories

exit - allows you to log out of your hostdate - prints the current date and timeCal 1997 - prints the 1997 calendarwhoami - prints who is currently logged on to

your

Page 14: Macintosh and Unix: A Brief Introduction.

VI CommandsTo add text - hit the esc key and the letter i (for insert) To delete text - hit the esc key and the letter x (for delete) To delete an entire line - hit the esc key and the letters dd To save your file - hit the esc key and type :w and then hit return To save and exit vi - hit the esc key and type :wq and hit return