Title: Windmilling Project
1BIL101E
OPERATING SYSTEMS
Turgut YilmazOffice Room 244E-mail
turgut.yilmaz_at_itu.edu.trwww.mkn.itu.edu.tr/
yilmaztur
2Operating Systems Overview
- WINDOWS
- DOS
- UNIX/LINUX
- TUTORIALWINDOWS, DOS,UNIX
3 - Command Line Interpreter -- GUI -
- Command Line Interpreter
- - User enters commands
- - interpreter understands what user means
- - OS executes the command
- e.g., dir, copy, rename.ls, cp, mv
- DOS, UNIX
- GUI Graphical User Interface
- - Graphical
- - Mouse can be used to enter commands
- - More user friendly!
- MacOS, WINDOWS, X-WINDOWS
4Operating System DOS
- Disk Operating System
- - Also called MSDOS
- - For PCs
- - Command Line interpreter
- - 16 Bit operating system
- - No multitasking, no multiple user capability
5Operating System WINDOWS NT-2000
Windows NT Windows New Technology - 32 bit
- Networking! - Multitasking -
Multiple user - Multithreading
NT or 2000 server for creating computer networks
6Operating System UNIX/LINUX
- Command line interpreter - X WINDOWS
for GUI - Available for many platforms -
Well documented - Networking, Multitasking -
Multiple user - Relatively very reliable.
7FILE SYSTEM
8FILE SYSTEM for DOS, UNIX, WINDOWS
Directory Tree (Hierarchy)
9FILE SYSTEM for DOS, UNIX, WINDOWS
Directory Tree (Hierarchy)
10FILE SYSTEM Absolute Directory Names
An absolute directory name or pathname is a
sequence of subdirectory names staring from the
root directory to the desired directory.
C\Myprogs\fortran\subrt
DOS/WINDOWS
UNIX
/home/courses/bil101
11FILE SYSTEM Relative File/Directory Names
If the leading \ or / is missing from a file
or a directory name, it is interpreted relative
to the working or current directory
If the Current directory is C\Myprogs
cd fortran\subrt
DOS/WINDOWS
If the Current directory is /home/courses
UNIX
cd bil101/chapter1
12WINDOWS FILE SYSTEM with GUI
13DOSIntroduction to some DOS Commands
14DOS Commands
dir Displays a list of files and directories in
a directory.
To display help for an MS-DOS command, type the
name of the command, followed by /? Example
dir /?
or help commandname
15DOS Commands
Some MS-DOS commands dir cd mkdir
rename copy del type deltree
Type the name of a program and press enter to
run a program
16DOS Commands DEMO
cd c\ cd temp or cd tmp and work
there. If the directory does not exists,
mkdir tmp
17DOS Commands DEMO
Create a new directory
mkdir mytemp cd mytemp Create/edit a new
file edit myfile (Type something in that file
and save it. Then, copy to another file, rename
it.modify it., see the content..delete.create
another file..)
18UNIXIntroduction to some UNIX Commands
19UNIX Comments Overview
Classification of Commonly Used UNIX Commands
- Starting and Ending - File management -
Communication - Information - Printing - Job
Control
20UNIX Commands
Some Useful Internet Resources
http//www.nmt.edu/tcc/help/unix/unix_cmd.html htt
p//www.hgmp.mrc.ac.uk/Embnetut/Universl/unixcmds.
htmlat http//www.computerhope.com/unix.htm
21UNIX Comments Starting and Ending
Logging in Enter your username password t
o login to the system. If login successfully,
you will see Unix Prompt
22UNIX Comments Starting and Ending
telnet Connecting to another machine e.g. telne
t hyperion.labs.itu.edu.tr telnet
atlas.cc.itu.edu.tr When connected, it will ask
your username and password
23UNIX Comments Starting and Ending
Logging out when you have finished, you must log
out exit or logout
24UNIX Comments File Management
vi or pico or Emacs To edit text
files mkdir Creating a directory cd
Changing your current working directory ls
Finding out what files you have cp Making a
copy of a file mv Changing the name of a
file rm Getting rid of unwanted
files chmod Controlling access to your
files cmp or diff Comparing two files wc
Word, line, and character count
25UNIX Comments To Get Help
To get help man commandname To get
help man ls man man
26UNIX Comments Files
Use help option man to find out what these
commands are for
tail chmod file spell diff
pg cat touch head
27UNIX Comments Communication
Pine Using Pine to send and receive
e-mail talk Talk to another user write
Write messages to another user ftp
Transferring files with ftp
28UNIX Comments To Get Help
To get help man -k keyword e.g. man -k
print
29UNIX Comments Information
man Manual pages quota -v Finding out your
available disk space quota df and du Info about
disk usage finger Getting information about a
user passwd Changing your password who
Finding out who's logged on
30UNIX Comments Printing
lp or lpr Printing cancel or lprm Removing a
print job
31UNIX Comments Job Control
ps Finding your processes kill Killing a
process nohup Continuing a job after
logout nice Changing the priority of a
job To run a background process