Professional Documents
Culture Documents
Operating System
1. Basic Concepts, Organization,
functions, operations and types
2. Features of DOS and DOS commands
3. Windows XP and UNIX operating
Systems
Introduction
• Operating system Concepts.
• “Operating system is an integrated set of
programs that controls the resources of a
computer system to provide interface.”
“An Operating System is a set of programs that
controls and coordinates the use of computer
hardware among various application programs.”
It provides an environment within which user can
execute programs. A computer can be divided into
four components : the hardware, the operating
system, the applications programs, the users.
• An operating system is a program (or set of
programs) that manages the computer hardware
• It also provides a basis for running application
programs and acts as an intermediary between
the computer user and the computer hardware
• Some operating systems are designed to be
convenient, others are designed to be efficient,
and still others are a combination of both
• PC operating systems support a range of software
from complex games to business applications
• Operating systems for handheld computers are
designed to provide a portable environment in
which a user can easily interface with the
computer
• The main two primary objectives of an operating
system.
1. Make a computer system easier to use:
It hides the details of the hardware resources
from programmers and other users and provides
them with a convenient interface for using a
computer system.
25
As with any other operating system, its
function is to oversee the operation of the
system by providing support for executing
programs, controlling I/O devices, handling
errors, and providing the user interface.
MS-DOS is a disk-based, single-user, single-
task operating system. These qualities make it
one of the easiest disk operating systems to
understand.
26
DOS FILES
• The main portions of MS-DOS are the IO.SYS, MSDOS.SYS,
and COMMAND.COM files.
• IO.SYS and MSDOS.SYS are special, hidden system files
• The IO.SYS file moves the system’s basic I/O functions into
memory and then implements the MS-DOS default
control programs, referred to as device drivers, for
various hardware components.
• These include the following:
• The boot disk drive
• The console display and keyboard
• The system’s time-of-day clock
• The parallel and serial communications port
27
DOS Commands
DIR
Display a list of files and subfolders
Using the ? And * characters we can list the files
having special pattern.
Syntax: E:\DIR
E:\DIR ab*.xyz
E:\DIR ab?de.xyz
E:\windows\acer\ DIR E: Shows all the files in the E drive
For Descending order listing :
DIR/o-n
MD (make directory)/ MKDIR
command
• Use the MD command to make a new directory that will
be stored under the current directory.
• The syntax is
MD <directory name>
29
CD command / CHDIR
(change the current directory)
• Use the CD command to change the current
directory.
• The syntax is
CD <directory name>
30
CLS
Type the CLS command followed by ENTER to clear the
screen.
31
Date
• Use to see the Current Date of the System.
– The output will be
– Current Date is Fri 07-03-2015
– Enter new date(mm-dd-yy):
Time
• Use to show the Current time of the System.
– The output will be
– Current time is 0 : 01 : 05 : 58
– Enter new Time:
The Format is:
HOURS: MINUTES:SECONDS.HUNDREDTHS OF SECONDS
RMDIR or RD
• Remove Directory: This command is used to
delete the directory that is EMPTY.
• If you want to delete the directory with all the
other files then use the below command.
• RD user1
If Empty
Delete
• This command is use to delete a file.
• Syntax: del filename
– DEL arpan.jpg
• It will deletes the file
Copy
• This command is use to copy the file with the
content
• Syntax : copy OLDFILENAME NEWFILENAME
– Copy a.docx b.docx
• It will copies the same file with new name
RENAME
• This command is used to rename the name of
the file.
• It also allows to change the name, extension
or both
Syntax: rename oldname.ext newname.ext
rename a.docx to abc.doc
It will changes to the new extension and with
new name
MOVE
• This command is used to move files from one
directory to other directory.
• Specify New and Old Directory
– C:\MOVE C:\DIR1\*.* c:\DIR2
• Where DIR1 is the source and DIR2 is
destination directory.
• E:MOVE E:\myphoto\a.jpg E:\myimage\a.jpg
• E:MOVE E:\myimage\a.jpg E:\myphoto\b.jpg
ERASE
• Use to remove FILES from the diskettes.
• E:\ERASE E:\myphoto\b.jpg
– It will ERASE the file.
• ScreenTips (ToolTips)
– Appear when the mouse pointer is positioned over certain objects
– Display the purpose or function of the object
– Figure 1-3 shows a ScreenTip