| Course Documents |
| Current Location: UNIX tutorials | |
| [ Top ] : UNIX tutorials | |
![]() |
UNIX concepts & commands
In this portion of the course, you will learn how to become a user of the UNIX operating system, and how to use the Bourne shell to write UNIX applications of your own. UNIX COMMANDS UNIX offers a wide variety of services and is constantly changing as new and better services are introduced. In CS 101, we will focus on the following UNIX commands and concepts (underlined items have been discussed in lecture): login passwd who finger hierarchical file system cd (absolute & relative addressing; .. and .) pwd ls (-l and –t) mkdir rmdir mv cp (-r) rm (-r) chmod echo cat more | < > & ; filename generation grep sort telnet ftp man UNIX PROGRAMMING You will learn the basics of the UNIX (Bourne) shell language: variables command line arguments assignment conditionals iteration input/output invocation of shell programs |
![]() |
Textbook readings
Sobell, M. (1995). A Practical Guide to the UNIX System, Third Edition. Redwood City, CA: Benjamin/Cummings. Read all of Chapters 1 and 2. In Chapter 3, read about: finger, who, man, echo, date, cp, mv, grep, sort In Chapter 4, read pages 65-79. Read all of Chapters 5.You may also find it useful to read Chapter 8 on the UNIX editor: vi. |
![]() |
On-line UNIX Introductions
Each of the following six tutorials cover the introductory UNIX concepts you'll need, in differing styles and at different levels of depth. Find one that you're comfortable with, and work through the material, keeping in mind the required commands and concepts listed above. |
![]() |
Bourne shell tutorials
Now that you are a UNIX user, it is time for you to become a UNIX programmer. Each of the following five tutorials contains the material you'll need to write your Bourne shell scripts in labs 15, 16, and 17. Again, choose one that you like and work through it. Each is roughly equivalent to the material in Chapter 10 of the textbook. |