1 / 12

“Final?” Day Unix/Linux

“Final?” Day Unix/Linux. April 8, 2014 Dr. Bob Mathis. How We Started. School was closed because of snow on Jan 7. I use Unix/Linux as just another tool. My Apple Mac has an operating system based on BSD Unix. I’ve used Unix in other jobs. Now I use it primarily to maintain my class web site.

ravi
Download Presentation

“Final?” Day Unix/Linux

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. “Final?” Day Unix/Linux April 8, 2014 Dr. Bob Mathis

  2. How We Started • School was closed because of snow on Jan 7. • I use Unix/Linux as just another tool. My Apple Mac has an operating system based on BSD Unix. I’ve used Unix in other jobs. Now I use it primarily to maintain my class web site. • I showed how to access Unix on my Mac, then connected to the faculty Linux system (basically the same way you would connect to the student Linux system), then I used an app on my iPad, and PuTTY on a Microsoft computer like the classroom’s.

  3. Lots of Unix Information • Books on Unix/Linux and operating systems in general • Internet tutorials, forums, resources • OSU/CSE Open Source Club • Most people learn Unix by watching some one else use or demonstrate it.

  4. What to expect on the job. • A lot of jobs just assume you know Unix.(When I restarted teaching in computer science at Ohio State, about 20 years ago, they just provided me with a networked Unix computer. The same occurred at other jobs.) • This intro to Unix basics is to give you those basics.

  5. What I Showed You andThen Asked You To Do For Yourself • Log into your Linux account and build a simple web page for yourself. ssh pwdpasswd ls –la echo cd sudo scp chmodcal

  6. Other Basic Unix/Linux CommandsPrintinglpr–lj_dl_272_a <file-name>lpr-<printer_name> <file_name> • man • make • grep • tar • touch • head, tail • make

  7. Unix Philosophy • Flexible development environment • Oriented toward c, but other languages have fit in, Java is a good example. Eclipse links to cvs, for example. • Redirection and pipes made of “filters” • Linux combines Unix features and open source approach. (no wonder so popular)

  8. Unix Concepts • sudo - super user do • inode - managing file storage • redirection - sending standard output to file • filter - standard input and output • pipeline

  9. Unix Editing • emacs, vi, vim, nano, pico • emacs is most powerful • vi’s two modes – entering text and editing it • scp – secure copy • Depends on how much of what kind of work you’re doing

  10. Version Control – Group Use • rcs, cvs • RCS – Revision Control System • Locking model • CVS – Concurrent Version System • Merging model

  11. bash Scripting • Programming at the operating system command level • Start the file of commands with #! /bin/bash

  12. Other CommandsRelated to Potential Test Questions

More Related