140 likes | 283 Views
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
E N D
Sponsored by: Instructional Computing Created by: Jason Cox Macintosh and Unix:A Brief Introduction.
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 • Based on a UNIX Varient called “Free BSD” • Faster • More stable • More secure • We now only support 2 platforms. • OS 9 • Based on Apple's own proprietary core • Applications are only compatible with OS X via emulation
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
Volume Menubar Mounted Samba Account Mounted USB Memory Stick Mounted CD-ROM Mozilla Browser Microsoft Office SAMBA Steamboat or Admiral Logout Applications Folder Safari Browser My Gateway icon Finder Toast CD-DVD Burning Terminal Trash Can Delete Dock
Classic Software Bioquest Library Vol V Ecobeaker Maclade 4.0 PAUP 4.0 Biology Lab Series Clean Act Interact Autoharp Practice Bell Magic Mosaicos 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 • iMovieiPhoto • iTunes • Auralia • Melody Assistant X • VIM
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! Some tips...
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. A Word of Warning
Open a terminal Type in ssh userName@admiral Enter your password Enjoy! Getting to our UNIX servers
The File Tree Note the capitals! (root) / /home/jason ITS dir_a dir_c dir_b dir_c dir_b dir_a .. Moves “up” the file tree . An alias for your current working directory (CWD) dir_d
man - Displays help on different topics pwd - Displays where you are in the file tree cd - Changes directories ls - Displays the files in the current directory lpr - Prints out files vi - A text editor (think of it like Notepad) mv - moves or renames a file or directory syntax: mv [options] sources target rm -removes a file syntax: rm [options][files] rm –ir -removes a directory Basic Commands
More Unix Commands Mkdir - creates new directory syntax: mkdir [options] directories exit - allows you to log out of your host date - prints the current date and time Cal 1997 - prints the 1997 calendar whoami - prints who is currently logged on to your
VI Commands • To 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