CS2043 - Unix Tools & Scripting

CS2043 - Unix Tools & Scripting

Cornell University, Spring 20141

Instructor: Bruno Abrahao

January 24, 2014

1 Slides evolved from previous versions by Hussam Abu-Libdeh and David Slater

Instructor: Bruno Abrahao

CS2043 - Unix Tools & Scripting

Last Time We had a brief discussion On The Origin of Species *nix systems

Today We roll our sleeves and get our hands dirty

Instructor: Bruno Abrahao

CS2043 - Unix Tools & Scripting

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: Bruno Abrahao

CS2043 - Unix Tools & Scripting

The Unix File System

UNIX: single global "root" directory / (regardless of how many disks/volumes you have) Files and directories are case sensitive

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

UNIX: /home/user1/Documents/cs2043/2014/Lecture2/ Windows: D:\Documents\cs2043\2014\Lecture2\ "Hidden" files begin with ".": .gimp

Instructor: Bruno Abrahao

CS2043 - Unix Tools & Scripting

Unix Filesystem Hierarchy

Instructor: Bruno Abrahao

CS2043 - Unix Tools & Scripting

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

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

Google Online Preview   Download