A Computer System Consists Of: Hardware System Programs Application Programs
A Computer System Consists Of: Hardware System Programs Application Programs
A Computer System Consists Of: Hardware System Programs Application Programs
Bus
• UNIX
• Linux
• Windows
• MAC OS
Go on to next page
Linux
Processes
• Running Programs
User owned
System owned
Files
• Regular Files:
– Data
– Executables <-- usually start a process
• Directory Files
– Contain other files and directories
• Special Files
Our View of the World
as Users
Your Shell
A shell is a process
that acts as an
interface to the OS. It
Unix Shell allows the user to run
programs individually
and together to
accomplish a task.
Simple Unix
Directory Structure
Home Directory
• /home/grad/jpeckhar
• ~jpeckhar
• ~
• A user generally has permission to freely manipulate
files within this directory and its children.
• Users start with their home directory as their pwd
when they login.
Changing Directories
• ls ls
• cp cp source dest OR
cp source … dir
• mv mv source dest OR
mv source … dir
• rm rm file
• mkdir mkdir new directory name
• rmdir rmdir directory to be removed
Using Other Commands
Syntax: command file