01-lec-shell - The Shell Intermediate System Administration...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
The Shell Intermediate System Administration Spring 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is the shell? A program; your gateway into any Unix system Allows you to inspect, manipulate, add/remove files and parts of the system Allows you to run other programs and control how they run A compact programming environment to allow automation of many tasks (sort of like DOS batch files)
Background image of page 2
In the beginning, there was sh. . . sh (what would become the Bourne shell) is the original shell first developed for UNIX in 1971 More commonly used today are derivatives of the Bourne shell (such as bash and ksh) and csh (the C shell, written by Bill Joy, at the time a masters student at Cal) and its derivative tcsh Most examples in this course will use bash syntax, but nothing we do will be impossible in any other shell
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Diving in: Basic Commands Demonstration of: cd - change directory ls - list directory pwd - print working directory mkdir - make (empty) directory cp - copy a file mv - move/rename a file rmdir - remove an empty directory rm - remove a file
Background image of page 4
Looking for Things grep : used to search within files for certain patterns (called regular expressions
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/14/2010 for the course CS 161 taught by Professor Wagner during the Spring '10 term at University of Central Arkansas.

Page1 / 16

01-lec-shell - The Shell Intermediate System Administration...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online