Lecture #1 An Overview of the UNIX/Linux Operating System
Agenda
Overview of web site and the course
Introductions: Get Acquainted Bingo
Exercise: Register for CIS191A forum on opus.cabrillo.edu and make a post
Exercise: Log in to your Opus account and add
/home/cis191/bin
to your PATH variable.
Introduction to VMware
Exercise: Create a Virtual Machine:
HOWTO
Demonstration: Observe the effects of the dash option to the su command.
Log in as a regular user and run the commands:
pwd; id; echo $PATH
Run the
su
command followed by the same three commands as above.
Exit the su shell and run the
su -
command followed by the same trio of commands.
Assignment:
Read the following sections in
Chapter 7
from the Linux Administration Handbook.
2,3,4,7,9
with emphasis on section 7.7
PowerPoint Slides
An Overview of the Unix/Linux Operating Systems
Questions:
What comprises a UNIX Operating System?
What types of files make up UNIX/Linux
How are these files organized on
Distribution media
A computer's hard drive
Components of the UNIX/Linux Operating System
Kernel
Shell
System Commands
Types of Files
Regular files
Directory files
Device files
Symbolic Links
The UNIX/Linux File system hierarchy
/bin
bash
/boot
/etc
inittab
/dev
console
sda
/lib
ld-linux.so.2
libc.so.6
/proc
/sbin
init
/sys
/tmp (turn sticky bit on:
chmod 1777 /tmp
)
/var
Relevant Commands and Files
Commands
Files
su
- switch user
sudo
- runs commands as super user
/etc/sudoers
ln
- creates hard and soft links
mknod
- creates a device file