120 likes | 237 Vues
This presentation offers an introductory overview of Unix/Linux, focusing on fundamental commands and concepts essential for beginners. Utilizing tools on various platforms like Mac, iPad, and Windows via PuTTY, Dr. Bob Mathis illustrates how to connect to Unix systems and manage tasks. The discussion includes accessing accounts, building web pages, and understanding key commands like `sudo`, `grep`, and using editors such as `vi` and `nano`. Resources for further learning are provided, emphasizing the importance of Unix knowledge in today’s job market.
E N D
“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. • 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.
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.
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.
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
Other Basic Unix/Linux CommandsPrintinglpr–lj_dl_272_a <file-name>lpr-<printer_name> <file_name> • man • make • grep • tar • touch • head, tail • make
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)
Unix Concepts • sudo - super user do • inode - managing file storage • redirection - sending standard output to file • filter - standard input and output • pipeline
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
Version Control – Group Use • rcs, cvs • RCS – Revision Control System • Locking model • CVS – Concurrent Version System • Merging model
bash Scripting • Programming at the operating system command level • Start the file of commands with #! /bin/bash