OS File
OS File
OS File
An operating system is a program that manages the computer hardware. It also provides basis
for application programs and act as intermediary between the computer user and computer
hardware. And it can also be defined as the software that controls the operation of a computer
and directs the processing of programs by assigning storage space in memory and controlling
input and output functions. And it controls the hardware and coordinates its use among the
various application programs.
An Operating system is a control program. A control program manages the execution of user
programs to prevent errors and improper use for computer. It controls the operation of a
computer, directs the input and output of data, keeps track of files, and controls the
processing of computer programs.
A Batch Operating System (BOS) is a computer system that allows multiple users to use
it, without direct communication between them. It achieves this by keeping all users in
separate ‘batches’, meaning they can’t interact with each other directly. This makes it ideal
for applications where users need to work on separate parts of a project, without getting in
the way of each other
2. It can handle large files more efficiently than a standard operating system. This is
because the BOS breaks down all tasks into smaller, more manageable chunks
which can be processed one at a time. As a result, the overall speed of the
computer is improved and users do not have to wait as long for their files to be
processed.
To employ a multiprocessing operating system effectively, the computer system must have the
following things:
It also has two types, namely Symmetrical MOS in which the CPUs work
independently and Asymmetrical MOS in which CPUs follow a master slave
order.
Imagine that the currently executing process is involved in I/O. (which, by definition, does
not need the CPU to be accomplished). The OS may then halt that process and transfer
control to another in-memory program that is prepared to run (i.e., context switching).
This prevents the system from wasting CPU time waiting for the I/O work to be finished. A
running process continues to operate until either it releases the CPU voluntarily or until it
blocks for an I/O operation. Therefore, multiprogramming's main objective is to keep the
CPU busy for as long as there are running processes. In a multiprogramming operating
system, the CPU will not be kept idle, which means the CPU will always be busy.
There are mainly two types of multiprogramming operating systems. These are as
follows:
There are two clusters available to make a more efficient cluster. These are as follows:
CMD stands for Command (.CMD). A command is an instruction given to a computer program that
tells the program what has to be done. It is an application that is found in most computers with
Windows as the Operating System, and it helps in the execution of the commands entered. It is also
called Command Prompt or Windows Command Processor.
Command Prompt is officially called Windows Command Processor, but it's also sometimes
referred to as the command shell or cmd prompt, or even by its filename, cmd.exe.
To open Command Prompt, open the Run box (Win+R) and type cmd and hit enter. Or
alternatively, Go on the start menu, and search cmd and select the command prompt and hit
enter.
Once you open the command prompt, the terminal will look like this :
Some of the most basic commands used in command prompt are :
1. Start
Opens a new command prompt window in which you can run a specific program or
command.
Syntax : C:\Users\Admin>Start
The dir command is used to display a list of files and folders contained
inside the folder that you are currently working in. The dir command also displays other
important information like the hard drive's serial number, the total number of files listed, their
combined size, the total amount of free space left on the drive, and more.
4. Tree
Graphically displays the directory structure of a drive or path. With the /F parameter, all
files in the folders are also listed out. /A also ensures that only ASCII characters are used
for the graphical representation. The command takes into account all subdirectories
starting from the given path. If you don’t enter a path, the current folder is used as the
output.
Syntax : C:\Users\Admin\OS lab>tree
5. Mkdir(Md)
Creates a new directory on the specified path. If directories don’t already exist on the
, mkdir creates them automatically (you can also use the md command)
6. Rmdir(Rd)
Deletes a directory. This must not contain any files, even hidden ones. You can delete an
entire directory tree with the /S parameter (you can also use the rd command )
The ping command sends an Internet Control Message Protocol (ICMP) Echo Request
message to a specified remote computer to verify IP-level connectivity.
8. Ipconfig
The ipconfig command is used to display detailed IP information for each network adapter
utilizing TCP/IP. The ipconfig command can also be used to release and renew IP addresses on
systems configured to receive them via a DHCP server.
Syntax : C:\Users\Admin>ipconfig
9. Chdir(Cd)
The chdir command is used to display the drive letter and folder that you are currently in.
Chdir can also be used to change the drive and/or directory that you want to work in.The cd
command is the shorthand version of the chdir command.
10. Cd..
The Cd.. command is used to go back a folder in the current directory. Syntax : C:\Users\
Admin\OS lab>cd..
11. Cd/
Displays the current directory and lets you switch to other directories. With the parameter /D plus
drive and path specification, you can also switch drives. Use cd.. to switch to a higher directory
(has the same function as the chdir command).
Syntax : C:\Users\Admin\OS lab>cd/
12. Chkdsk
The chkdsk command, often referred to as check disk, is used to identify and correct certain
hard drive errors.
Syntax : C:\>chkdsk
13. Help
The help command provides more detailed information on any of the other Command Prompt or
MS-DOS commands.
Syntax : C:\>help
14. Copy
The copy command copies one or more files from one location to another. Syntax : C:\Users\
15. Color
The color command is used to change the colors of the text and background within
the Command Prompt window.
16. Echo
The Echo command is used to print text on the command prompt. Syntax : C:\Users\