CS2043 - Unix Tools & Scripting Lecture 2

CS2043 - Unix Tools & Scripting Lecture 2

Spring 2015 1

Instructor: Nicolas Savva

January 23, 2015

1 based on slides by Hussam Abu-Libdeh, Bruno Abrahao and David Slater over the years

Instructor: Nicolas Savva

CS2043 - Unix Tools & Scripting Lecture 2

Course Logistics

assignment 1 is out (due January 28th) if you are not on CMS get in touch enroll by next Wednesday (add deadline)

Instructor: Nicolas Savva

CS2043 - Unix Tools & Scripting Lecture 2

Last Time We had a brief historical overview of the *nix systems

Today We roll our sleeves and get our hands dirty

Instructor: Nicolas Savva

CS2043 - Unix Tools & Scripting Lecture 2

Notation

Commands will be shown on slides using typewriter typeface. Introducing new commands New commands will be introduced in block boxes like this one. A summary synopsis of calling the command will be shown listing the command name and potential optional arguments/flags.

SomeCommand [opt1] [opt2]

To execute a command, just type its name into the shell and press return/enter.

Instructor: Nicolas Savva

CS2043 - Unix Tools & Scripting Lecture 2

The Unix File System

Unlike windows, UNIX has a single global "root" directory / (instead of of a root directory for each disk/volume) All files and directories are case sensitive

hello.txt != hEllO.tXt Directories are separated by / instead of \ in windows

UNIX: /home/nsavva/Documents/cs2043/2015sp/Lecture2/ Windows: D:\Documents\cs2043\2015sp\Lecture2\ "Hidden" files begin with ".": .gimp Lets look at directories in my root directory

Instructor: Nicolas Savva

CS2043 - Unix Tools & Scripting Lecture 2

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download