OSY Microproject
OSY Microproject
information about
a) Before you go through this article, make sure that you have gone through the previous article on SR Flip Flop.
b) of the micro project now we have get deep knowledge.
Course Outcomes Addressed
a) A Flip Flop is a memory element that is capable of storing one bit of information.
b) It is also called as Bistable Multivibrator since it has two stable states either 0 or 1.
Collect the information of all the Employee Motivation & Productivity with its Working. The Employee Motivation &
Productivity also include the methodology and various info. detail.
We are searched the micro project topics related to subject. Then selected micro project title. After selection of topic
searched and collected information related to selected topic. Then completed proposal of micro project.
***************
A
PROJECT REPORT
ON
“ Shell Script in Linux/Unix ”
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD
OF
DIPLOMA IN
COMPUTER ENGINEERING
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI
SUBMITTED BY
GUIDED BY
(Prof. Falke G. N.)
SAMARTH POLYTECHNIC, BELHE
CERTIFICATE
This is to certify that the project report entitled “Shell Script in Linux/Unix” Was successfully
completed by Student of Sixth semester Diploma in computer engineering.
In partial fulfillment of the requirements for the award of the Diploma in Computer
engineering and submitted to the Department of Computer of Samarth Polytechnic,
Belhe work carried out during a period for the academic year 2021-22 as per
curriculum .
This project is done as a Third semester project, as a part course titled “ Shell Script in Linux/Unix”.
I am really thankful to our course the Principal Prof. Kapile A. S. and the HOD Prof. Khistsagar.s
Samarth Polytechnic, Belhe for his invaluable guidance and assistance, without which the accomplishment of
the task would have never been possible.
I also thank Prof. Tannu R.R. for giving this opportunity to explore into the real world and realize the
interrelation without which a Project can never progress. In our present project I have chosen the topic-
“Shell Script in Linux/Unix”.
I also thankful to parents, friend and all staff of Computer engineering department, for providing us relevant
information and necessary clarifications, and great support.
Chapter 1 Synopsis 10
Chapter 2 ABSTRACT 11
Chapter 3 Introduction 12
Chapter 10 Conclusion 23
Chapter 11 References 24
7
Samarth polytechnic , Belhe
Shell Script in Linux/Unix
CHAPTER 1
SYNOPSIS
None
Mr.Falke G.N.
CHAPTER 2
ABSTRACT
An Operating System is basically a system program that controls the execution of application
programs and acts as an interface between applications and the computer hardware. It
manages the computer system resources to be used in an efficient manner. This course
enables one to learn the internal functioning of operating systems and will help in identifying
appropriate Operating Systems for given applications/tasks. This course is also a
prerequisite for the group of courses included in the 'Cloud Infrastructure Maintenance'
Elective group.
CHAPTER 3
Introduction
Shell Scripting is an open-source computer program run by the Unix/Linux
shell. Shell Scripting is a program to write a series of commands for the shell
to run. It can combine lengthy and repetitive sequences of commands into a
single and simple script that can be kept and run anytime which, decreases
programming efforts.
What is Shell?
Shell is a UNIX term for an interface between a user and an operating system
service. Shell delivers users with an interface and receives human-readable
commands into the system and performs those commands which can run
automatically and give the program’s output in a shell script.
Kernel
Shell
A Kernel is at the heart of a computer. It completes the communication between the hardware and
software possible. While the Kernel is the innermost part of an operating system, a shell is the
outermost one.
CHAPTER 4
This special file format can include the rules that tell the package manager
software to do extra tasks, like:
Minimum RAM, central processing unit and hard disk(HDD) requirement for the
desktop edition of the Debian based OS and the RedHat based OS is as listed
here.
RAM:
To run the Linux OS smoothly minimum 1-2 GB RAM is required. The actual
minimum memory requirements for the Linux operating system only (without
any additional software) are less than these numbers. For example, it is possible
to install Debian with 20MB RAM.
Central Processing Unit:
Hard Disk
A 4 to 5 GB hard disk is enough to store the system and other important files of a
Linux distribution. However, to store users' data it is recommended to have at
least 25 GB hard disk size.
More efficient hardware produced in the last few years means Linux can often
work well with drive storage (HDD). For example, a netbook with an 8 GB hard
disk will work well if user data is directly stored onto the cloud. A good rule of
thumb is that machines that could run XP, Vista, and Windows 7 will almost
always be a lot faster with Linux even if they are lower-spec than described.
CHAPTER 5
Objectives
CHAPTER 6
Necessity
If you are using any major operating system you are indirectly
interacting to shell. If you are running Ubuntu, Linux Mint or any other
Linux distribution, you are interacting to shell every time you use
terminal. In this article I will discuss about linux shells and shell
scripting so before understanding shell scripting we have to get familiar
with following terminologies:
Kernel
Shell
Terminal
The kernel is a computer program that is the core of a computer’s
operating system, with complete control over everything in the system.
It manages following resources of the Linux system –
File management
Process management
I/O management
Memory management
Device management etc.
It is often mistaken that Linus Torvalds has developed Linux OS, but
actually he is only responsible for development of Linux kernel.
CHAPTER 7
Principal
CHAPTER 8
Purpose
Using a shell script is most useful for repetitive tasks that may be time
consuming to execute by typing one line at a time. A few examples of
applications shell scripts can be used for include:
Completing batch
Manipulating files.
Monitoring a system.
CHAPTER 9
Types And Use of Shell Script in Linux/Unix:-
There are two main shells in Linux :
1 . The Bourne Shell: The prompt for this shell is $ and its derivatives are listed below:
2. The C shell: The prompt for this shell is %, and its subcategories are:
“#!” is an operator named shebang which directs the script to the interpreter's location.
So, if we use”#! /bin/sh” the script gets directed to the bourne-shell.
* #!/bin/ah la
#comment
Variables store data in the form of characters and numbers. Likewise, Shell variables are
utilized to store information and they can be by the shell only.
For example, the following creates a shell variable and then prints it:
variable ="Hello"
echo $variable
Below is a small script that will use a variable.
#!/bin/sh
echo "what is your name?"
read name
echo "How do you do, $name?"
read remark
echo "I am $remark too!"
the steps to create and execute the script
As you see, the program determined the value of the variable ‘name’ as Joy and
‘remark’ as excellent. This is a simple script. You can create advanced scripts
which contain conditional statements, loops, and functions. Shell scripting will
make your life easy and Linux administration a breeze.
CHAPTER 10
Conclusion
A shell script is a text file that includes a sequence of commands for a UNIX-based operating
system. It is called a shell script because it combines a sequence of commands, that would
otherwise have to be typed into the keyboard one at a time, into a single script.
CHAPTER 11
Reference
https://www.msbtemicroproject.tech/2022/09/EST-22447-Environmental%20Studies-Micro
%20project-computer-engineering%20%20.html?m=1
Annexure II
Evaluation Sheet for Micro Project
a) Practical Outcomes…………………………………………………………………
Prof. Falke G. N.
(Name & Signature of Faculty)