Upload
sonabeta07
View
223
Download
0
Embed Size (px)
Citation preview
8/20/2019 Linux Report Neha
1/71
PROJECT REPORT
ON
SUPPLIER INFORMATION SYSTEM
Submitted to PANJAB UNIVERSITY, CHANDIGARH
in partial fulfillment of the requirements for the degree of
MASTER OF SCIENCE IN INFORMATION TECHNOLOGY
(M.Sc.(IT)-3rd Semester )
BY
upinder !aur
!amalpreet !aur
DEPARTMENT OF COMPUTER SCIENCE
GURU NANAK GIRLS COLLEGE
MODEL TOWN, LUDHIANA
SESSION: 2015-201
8/20/2019 Linux Report Neha
2/71
PROJECT REPORT
ON
SUPPLIER INFORMATION SYSTEM
Submitted to PANJAB UNIVERSITY, CHANDIGARH
in partial fulfillment of the requirements for the degree of
MASTER OF SCIENCE IN INFORMATION TECHNOLOGY
(M.Sc.(IT)-3rd
Semester )
BY
upinder !aur
!amalpreet !aur
DEPARTMENT OF COMPUTER SCIENCE
GURU NANAK GIRLS COLLEGE
MODEL TOWN, LUDHIANA
SESSION:2015-201
8/20/2019 Linux Report Neha
3/71
ACKNOWLEDGEMENT
"e are #er$ than%ful to e#er$one &ho all supported us for completing our
pro'ect effecti#el$ and moreo#er on time.
"e are than%ful to our rincipal r.(Mrs.) *haran'it Mahal for the constant
support and moti#ation also for pro#iding us best facilit$ a#ailable.
Moreo#er gi#ing us the best en#ironment for stud$.
"e equall$ grateful to our ro'ect +uide, Ms. eha arula. She ga#e us
moral support and guided us in different matters regarding the topic. She had
been #er$ %ind and patient &hile suggesting us the outlines of this pro'ect
and correcting our doubts. "e than% her for her o#erall support.
ast but not the least, &e &ould li%e to than% our parents and co-mates &ho
helped us a lot gathering information, collection data and guiding us from
time to time in ma%ing this pro'ect, despite of their bus$ schedules, the$
ga#e us different ideas in ma%ing this pro'ect unique.
upinder !aur
!amalpreet !aur
ate
8/20/2019 Linux Report Neha
4/71
CERTIFICATE
This is to certif$ that the pro'ect entitled /S0I1 I2M4TI
SYST1M5 submitted to an'ab 0ni#ersit$, *handigarh in the partial
fulfillment of the requirements for the degree of Masters f Science in
Information Technolog$ (M.Sc.(IT) 3rd Semester) is a bonafide &or% carried
out b$ upinder !aur and !amalpreet !aur under our super#ision and no
part of this &or% is submitted for an$ other degree.
The assistance and help recei#ed during the course of &or% has been full$
ac%no&ledged.
ro'ect +uide
Miss eha arula
8/20/2019 Linux Report Neha
5/71
STUDENT DECLARATION
"e hereb$ declare that the pro'ect entitled /S0I1 I2M4TI
SYST1M5 submitted b$ upinder %aur and !amalpreet !aur in the partial
fulfillment of the requirments for the degree of Master of Science in
Information Technolog$ (M.Sc.(IT) 3rd Semester) to an'ab 0ni#ersit$,
*handigarh is an original &or% and has not been submitted for the re&ard of
an$ other degree6diploma6scholarship or an$ other similar title or pri7e.
lace8 udhiana
ate8
upinder !aur
!amalpreet !aur
ro'ect +uide
Miss eha arula
8/20/2019 Linux Report Neha
6/71
L!"# $% &$'#('#"
• Introduction of pro'ect
• b'ecti#e of pro'ect
• 2easibilit$ stud$
• esign of pro'ect
• Implementation
• 9ard&are and soft&are requirements
• Testing
• *oding
• utput
• 2uture scope
•
Bibliograph$• "ebliograph$
8/20/2019 Linux Report Neha
7/71
I'#)$*+!$' $% )$(
This pro'ect is about maintaining onl$ the record of supplier that suppl$
the product . The pro'ect in#ol#es the functionalit$ of insertion, deletion,
searching, displa$ing and modif$ing the records. Insertion in#ol#es
#arious fields such as supplier name, supplier phone no, supplier address,
supplier nationalit$, and supplier gender. eletion is performed b$
inserting the supplier name and supplier id. Searching is performed b$
supplier name and supplier id. Modified is performed on all fields.
ispla$ing operation displa$s all the records present in the database.
8/20/2019 Linux Report Neha
8/71
O.(!/( $% )$(
The pro'ect has the follo&ing ob'ecti#es8
• The ob'ecti#e of this pro'ect is to pro#ide a comprehensi#e
approach to&ards the management of Supplier information.
• 4 user friendl$ front-end for the user to interact &ith the s$stem.
• "ell-designed database to store Supplier information.
• Supplier &ill ha#e access to their personal profiles and &ill be
able to edit their details.
A!&#!$'" $% )$(
The pro'ect can be used for the number of purposes &hich are gi#en
belo&8
:. To maintain the database of an Supplier.
;. To search the record #er$ easil$.
3. To change the information of Supplier.
8/20/2019 Linux Report Neha
9/71
S"#(3 F("!.!!#
The feasibilit$ stud$ is an e#aluation and anal$sis of the potential of a
proposed pro'ect &hich is based on e=tensi#e in#estigation and research to
support the process of decision ma%ing.
2easibilit$ studies aim to ob'ecti#el$ and rationall$ unco#er the strengths
and &ea%nesses of an e=isting business or proposed #enture, opportunities
and threats present in the en#ironment, the resources required to carr$
through, and ultimatel$ the prospects for success. In its simplest terms, the
t&o criteria to 'udge feasibilit$ are cost required and #alue to be attained.4 &ell-designed feasibilit$ stud$ should pro#ide a historical bac%ground of
the business or pro'ect, a description of the product or ser#ice, accounting
statements, details of the operations and management, mar%eting research
and policies, financial data, legal requirements and ta= obligations.
+enerall$, feasibilit$ studies precede technical de#elopment and pro'ect
implementation.
Technolog$ and s$stem feasibilit$
The assessment is based on an outline design of s$stem requirements, to
determine &hether the compan$ has the technical e=pertise to handle
completion of the pro'ect. "hen &riting a feasibilit$ report, the follo&ing
should be ta%en to consideration8
T(" $% S"#(3 F("!.!!#:-
4 brief description of the business to assess more possible factors &hich
could affect the stud$
14 T(&'$$6 '* ""#(3 %("!.!!#:- The assessment is based on an
outline design of s$stem requirements, to determine &hether the compan$
8/20/2019 Linux Report Neha
10/71
has the technical e=pertise to handle completion of the pro'ect. "hen &riting
a feasibilit$ report, the follo&ing should be ta%en to consideration8
4 brief description of the business to assess more possible factors &hich
could affect the stud$
• The part of the business being e=amined
• The human and economic factor
• The possible solutions to the problem
24 L(6 F("!.!!#:-etermines &hether the proposed s$stem conflicts
&ith legal requirements, e.g. a data processing s$stem must compl$ &ith the
local ata rotection 4cts.
74 O()#!$' F("!.!!#:-perational feasibilit$ is a measure of ho&
&ell a proposed s$stem sol#es the problems, and ta%es ad#antage of the
opportunities identified during scope definition and ho& it satisfies the
requirements identified in the requirements anal$sis phase of s$stem
de#elopment.
The operational feasibilit$ assessment focuses on the degree to &hich the
proposed de#elopment pro'ects fits in &ith the e=isting business
en#ironment and ob'ecti#es &ith regard to de#elopment schedule, deli#er$
date, corporate culture, and e=isting business processes.
To ensure success, desired operational outcomes must be imparted during
design and de#elopment. These include such design-dependent parameterssuch as reliabilit$, maintainabilit$, supportabilit$, usabilit$, producibilit$,
disposabilit$, sustainabilit$, affordabilit$ and others. These parameters are
required to be considered at the earl$ stages of design if desired operational
beha#iors are to be reali7ed. 4 s$stem design and de#elopment requires
8/20/2019 Linux Report Neha
11/71
appropriate and timel$ application of engineering and management efforts to
meet the pre#iousl$ mentioned parameters. 4 s$stem ma$ ser#e its intended
purpose most effecti#el$ &hen its technical and operating characteristics are
engineered into the design. Therefore operational feasibilit$ is a critical
aspect of s$stems engineering that needs to be an integral part of the earl$
design phases.
84 E&$'$3!& F("!.!!#:-The purpose of the economic feasibilit$
assessment is to determine the positi#e economic benefits to the organi7ation
that the proposed s$stem &ill pro#ide. It includes quantification and
identification of all the benefits e=pected. This assessment t$picall$ in#ol#esa cost6 benefits anal$sis.
8/20/2019 Linux Report Neha
12/71
54 T(&'!& F("!.!!#:-The technical feasibilit$ assessment is focused
on gaining an understanding of the present technical resources of the
organi7ation and their applicabilit$ to the e=pected needs of the proposed
s$stem. It is an e#aluation of the hard&are and soft&are and ho& it meets the
need of the proposed s$stem
4 S&(*+( F("!.!!#:-4 pro'ect &ill fail if it ta%es too long to be
completed before it is useful. T$picall$ this means estimating ho& long the
s$stem &ill ta%e to de#elop, and if it can be completed in a gi#en time period
using some methods li%e pa$bac% period. Schedule feasibilit$ is a measure
of ho& reasonable the pro'ect timetable is. +i#en our technical e=pertise, arethe pro'ect deadlines reasonable> Some pro'ects are initiated &ith specific
deadlines. It is necessar$ to determine &hether the deadlines are mandator$
or desirable.
D("!6' $% )$(
• The first step is to determine ho& the output is to be produced and in
&hat format.• Second, input data and master files ha#e to be designed to meet the
requirement of the proposed output.
• 2inall$ the details related to 'ustification of the s$stem and the
organi7ation are documented and e#aluated b$ management.
8/20/2019 Linux Report Neha
13/71
SYSTEM DESIGN
I3(3('##!$'
ST4T
2T 4+1
+I 4+1
M4I M10 4+1
Insertecord
Searchecord
0pdateecord
ispla$ecord
1=itatabase
eleteecord
1nter e&
ecord
eturn9ome
ThroughId
Through ame
ThroughId
Through ame
ThroughId
eturn9ome
eturn9ome
Through ame
8/20/2019 Linux Report Neha
14/71
This pro'ect &as concerned &ith the de#elopment and implementation the
emplo$ee management s$stem. "e began &ith anal$sis of the current and
proposed s$stems, the design of the s$stem to be de#eloped,
The de#eloped s$stem encompasses #arious acti#ities associated &ith
managing emplo$ee information. The main functionalities a#ailable in this
s$stem are8
• Maintaining emplo$ee profiles
• ea#e management
• 1SS
• Tas% management
• 1mplo$ee Trainings
• ro'ect Management
4ll these features include the abilit$ to add user, update (edit), and
retrie#e through search results.
?arious companies and organi7ations ma$ ha#e different emplo$ee
structures and hierarch$. Being generic, the de#eloped S$stem has four main
access le#els &hich are8
1mplo$ee
9ead of epartment (9)
9uman esource Manager (9)
4dministrator
In the implementation, the &hole application is bro%en do&n into a series of
top-le#el components &hich ma$ be referred to as tas%s, actions, functions,
operations or transactions (that@s user transactions, not database transactions
each of &hich is ma$ be related to a 0se *ase. 1ach transaction component
8/20/2019 Linux Report Neha
15/71
references a single controller, one or more models, and usuall$ a single #ie&.
Some components do not ha#e a #ie& as the$ are called from other
components in order to perform a ser#ice, and once this ser#ice has been
completed the$ return control to the calling component. 1ach component is
self-e=ecuting in that it deals &ith both the 9TT +1T and ST requests.
4n IT s$stem implementation usuall$ starts &ith negotiating a contract &ith
a #endor a usuall$ meticulous process that defines set guidelines, deadlines
and a pa$ment schedule for the entire implementation process. *ontract
requirements could include the outline of s$stem performance criteria,
penalties related to issues and documentation, training support after the
s$stem goes li#e in case of problems. 9a#ing detailed requirements agreed
to in &riting is a benefit to companies since it gi#es managers and users
clear requirements to be met at different points throughout the process and
holds the #endor accountable for the product.
T$$" +"(* !' #( )$( '6+6( L!'+9
8/20/2019 Linux Report Neha
16/71
4n operating s$stem is the soft&are on a computer that manages the
&a$ different programs use its hard&are and regulates the &a$s that a
user controls the computer. It is considered the bac%bone of a
computer, managing the both soft&are and hard&are resources.
perating s$stems are responsible for e#er$thing from the control
and allocation of memor$ to recogni7ing input from e=ternal de#ices
and transmitting output to computer peripherals, li%e printers and
scanners. Some popular modern operating s$stems include Microsoft
&indo&s, Mac S A and inu=.
inu= is a free pen Source perating S$stem, based on 0ni=. It is
a#ailable from man$ #endors &ith optimal paid for support and
pro#ides an increasingl$ #iable alternati#es to the "in 3; platform.
inu= is named after inu= tornados &ho created it.
S(
8/20/2019 Linux Report Neha
17/71
The shell is a program used to interface bet&een the user and inu= !ernel.
1#er$ command $ou t$pe at a prompt on $our screen is interpreted b$ the
shell and the passed to the inu= %ernel.
The shell is a command language interpreter. It has its o&n set of in the
shell commands. The shell can also ma%e use of all inu= utilities and
application programs that are a#ailable on the s$stem. Some of the
commands such as print &or%ing director$ (") command are into the
inu= Bash Shell. ther commands are a separate e=ecutable program e=ists
in one the directories in the file s$stem.
T(" $% "(
I0A
I0A S91
I0A !14
8/20/2019 Linux Report Neha
18/71
SH
The Bourne shell, called S9, is one of the original shells, de#eloped for
0ni= computers b$ Stephen Bourne at 4TCT@s Bell abs in :DEE. Its longhistor$ of use means man$ soft&are de#elopers are familiar &ith it. It offers
features such as input and output redirection, shell scripting &ith string and
integer #ariables, and condition testing and looping.
BASH
It is &ritten b$ S. . Bourne. The popularit$ of S9 moti#ated programmersto de#elop a shell that &as compatible &ith it, but &ith se#eral
enhancements. inu= s$stems still offer the S9 shell, but bash -- the
Bourne-again Shell, based on S9 -- has become the ne& default standard.
ne attracti#e feature of bash is its abilit$ to run S9 shell scripts unchanged.
Shell scripts are comple= sets of commands that automate programming and
maintenance choresF being able to reuse these scripts sa#es programmers
time. *on#eniences not present &ith the original Bourne shell include
command completion and a command histor$.
C "(
The * shell &as de#eloped b$ Bill Go$ for the Ber%ele$ Soft&are
istribution (BS), a line of 0ni= operating s$stems deri#ed from 0ni= and
de#eloped at the 0ni#ersit$ of *alifornia, Ber%ele$. It &as originall$ deri#ed
from the Hth 1dition 0ni= shell (Thompson shell), &ith its s$nta= modeled
after the * programming language. The * shell is used primaril$ for
interacti#e terminal use, and less frequentl$ for scripting and operating
8/20/2019 Linux Report Neha
19/71
s$stem control. It has interacti#e %e$board shortcuts in form of special
control-%e$ sequences for special effects such as 'ob control
KSH
a#id !oran de#eloped the !oran shell, or !S9, about the time T*S9 &as
introduced. !S9 is compatible &ith S9 and bash. !S9 impro#es on the
Bourne shell b$ adding floating-point arithmetic, 'ob control and command
aliasing and command completion. 4TCT held proprietar$ rights to !S9
until ;, &hen it became open source.
CSH '* TCSH
e#elopers ha#e &ritten large parts of the inu= operating s$stem in the *
and *JJ languages. 0sing * s$nta= as a model, Bill Go$ at Ber%ele$
0ni#ersit$ de#eloped the *-shell, *S9, in :DEK. !en +reer, &or%ing at
*arnegie-Mellon 0ni#ersit$, too% *S9 concepts a step for&ard &ith a ne&
shell, T*S9, &hich inu= s$stems no& offer. T*S9 fi=ed problems in *S9
and added command completion, in &hich the shell ma%es educated
guesses as $ou t$pe, based on $our s$stem@s director$ structure and files.
T*S9 does not run bash scripts, as the t&o ha#e substantial difference
8/20/2019 Linux Report Neha
20/71
L!'+9 '* "( &$33'*" +"(* !' #( )$(
14 CUT8 this command acts as a filter. It cuts or pic%s up a gi#en
number of characters or fields from the specified file.24 S'#9:
Lcut fNfield:ONfield;ONfilenameO
74 GREP: this command searches the specified input full$ for match
&ith the specified pattern and displa$s it4
84 S'#9:
Lgrep P-optionsQ NpatternONfilename
54 CONTROL INSTRUCTION:
a. If-then-else-fi
b. *ase-esac
c. "hile-do-done
8/20/2019 Linux Report Neha
21/71
AWK
AWK is an interpreted programming language designed for te=t processing
and t$picall$ used as a data e=traction and reporting tool. It is a standardfeature of most 0ni= li%e operating s$stems
The 4"! language is a data-dri#en scripting language consisting of a set of
actions to be ta%en against streams of te=tual data either run directl$ on
files or used as part of a pipeline for purposes of e=tracting or transforming
te=t, such as producing formatted reports. The language e=tensi#el$ uses the
string data t$pe, associati#e arra$s (that is, arra$s inde=ed b$ %e$ strings),
and regular e=pressions. "hile 4"! has a limited intended application
domain and &as especiall$ designed to support one-liner programs, the
language is Turing-complete, and e#en the earl$ Bell abs users of 4"!
often &rote &ell-structured large 4"! programs.
S$nta=8
4&% B1+I StartUactionV actionV 1 stopUactionV
A; &$33'*":-
4"! commands can include function calls, #ariable assignments,
calculations, or an$ combination thereof. 4"! contains built-in support for
man$ functionsF man$ more are pro#ided b$ the #arious fla#ors of 4"!.
4lso, some fla#ors support the inclusion of d$namicall$ lin%ed libraries,
&hich can also pro#ide more functions.
8/20/2019 Linux Report Neha
22/71
T( print &$33'*
The print command is used to output te=t. The output te=t is al&a$s
terminated &ith a predefined string called the output record separator (S)&hose default #alue is a ne&line. The simplest form of this command is8
This displa$s the contents of the current record. In 4"!, records are
bro%en do&n into fields, and these can be displa$ed separatel$8
print L:
ispla$s the first field of the current record
print L:, L3
ispla$s the first and third fields of the current record, separated b$ a
predefined string called the output field separator (2S) &hose
default #alue is a single space character
V)!.(" '* "'#9
?ariable names can use an$ of the characters P4-Wa-7-DUQ, &ith the
e=ception of language %e$&ords. The operators + - * / represent addition,
subtraction, multiplication, and di#ision, respecti#el$. 2or string
concatenation, simpl$ place t&o #ariables (or string constants) ne=t to each
other. It is optional to use a space in bet&een if string constants are in#ol#ed,
but t&o #ariable names placed ad'acent to each other require a space in
bet&een. ouble quotes delimit string constants. Statements need not end
&ith semicolons. 2inall$, comments can be added to programs b$ using # as
the first character on a line.
8/20/2019 Linux Report Neha
23/71
H)*)( '* S$%#)( )(
8/20/2019 Linux Report Neha
24/71
CODING
8/20/2019 Linux Report Neha
25/71
S&)!# %$) $3( 6(=H$3(4">
echoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXX
echo S0I1 I2M4TI SYST1M
echoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXX
echo
echo
echo echo
echo
echo
echo Submitted To8 Submitted B$8
echo Miss eha arula upinder %aur,!amalpreet%aur
echo
echo
echo
echo
echo 1nter an$ %e$ to *ontinue
read a
if P La $ -o La Y Q
then
sh loginf.sh
else
sh homep.sh
fi
8/20/2019 Linux Report Neha
26/71
S&)!# %$) $6!' 6(=L$6!'"4">
clear
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo +I 2M
echoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo 1nter ame
read name
echo 1nter ass&ord
read pass&ord
if P Lname mscit -a Lpass&ord :;3
8/20/2019 Linux Report Neha
27/71
S&)!# %$) M('+ 6(=M('+%4">
clear
echo
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo XXXXXXXXXXX"1*M1 T S0I1 I2M4TI
SYST1MXXXXXXXXXXXX
echo
echo
echo
echo
echo XXXXXXXXX:.IS1T S0I1 1*XXXXXXX
echo XXXXXXXXX;.11T1 S0I1 1*XXXXXXX
echo XXXXXXXXX3.MI2Y S0I1 1*XXXXXXX
echo XXXXXXXXX
8/20/2019 Linux Report Neha
28/71
sh searchm.shFF
R)
sh #ie&f.shFF
H)
sh e=itf.shFF
X)
echo in#alid choiceFF
esac
8/20/2019 Linux Report Neha
29/71
S&)!# %$) I'"()#!$' 6(=**%4">
ans$
t@tt$@
&hile P Lans $ -o Lans Y Q
do
echo XXXXXXXXXXXXXXXXXXXXXXXXXX4
S0I1XXXXXXXXXXXXXXXXXXXXXXXXXX
cut -f : -d @8@ suppl$info:.dbf [ sort -n OOsuppl$info;.dbf
idL(tail -: suppl$info;.dbf)
id\ e=pr Lid J : \
echo supplier idLid
echo 1nter ame
read name
&hile P -7 Lname Q
do
echo on@t lea#e it Blan%
echo 1nter the name
read name
done
flag:
&hile P Lflag: Q
do
case Lname in
XP]6-DQX)
a:
flag::
FF
8/20/2019 Linux Report Neha
30/71
X)
a;
FF
esac
if P La @;@ Q
then
echo enter naming chracter onl$
read name
fi
done
echo enter gender
read gen
if P Lgen m -o Lgen M Q
then
echo gender is male
elif P Lgen f -o Lgen 2 Q
then
echo gender is female
else
echo "rong choice
fi
echo enter ationalit$
read nationalit$
&hile P -7 Lnationalit$ Q
do
echo on@t lea#e it blan%
echo enter ationalit$
8/20/2019 Linux Report Neha
31/71
read nationalit$
done
echo enter 4ddress
read address
&hile P -7 Laddress Q
do
echo on@t lea#e it Blan%
echo enter the address
read address
done
echo enter mobile in ten digit onl$
read phone
aL^phoneV
echo La
if P La -lt : -o La -gt : Q
then
echo enter number again
read phone
fi
&hile P -7 Lphone Q
do
echo on@t lea#e it Blan%
echo enter mobile number
read phone
done
flag:
&hile P Lflag: Q
8/20/2019 Linux Report Neha
32/71
do
case Lphone in
XP]6a-7QX)
a:
flag::
FF
X)
a;
FF
esac
if P La @;@ Q
then
echo enter mobile number in digits
read phone
fi
done
echo Lid8 Lname8 Lgen8 Lnationalit$8 Laddress 8Lphone[dd
con#ucaseOOsuppl$info:.dbf
echo o You "ant To 6insert 4nother ecord(Y6)>
read ans
if P Lans n -o Lans Q
then
sh menuf.sh
fi
done
8/20/2019 Linux Report Neha
33/71
S&)!# %$) D((#!$' 6(=D(34">
echoXXXXXXXXXXXXXXXXXXXXXXXXXXX11T11*XXXXXXXXXXXXXX
XXXXXX
echo
echo
echo
echo :.11T1 BY S0I1 4M1
echo ;.11T1 BY S0I1 I
echo 3.1T0 T M4I 2I1
echo 1nter choice
read choice
case Lchoice in
:)
sh deln.shFF
;)
sh deli.shFF
3)
sh menuf.shFF
X)
echo enter correct choice
sh delf.shFF
esac
8/20/2019 Linux Report Neha
34/71
S&)!# %$) D((#( . N3(=D('4">
clear
echo
echo
echo
echo
echo XXXXXXXXXXXXXXXXXXXXXXX11T1 1* BY
4M1XXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX
echo
echo
echo
echo elete B$ ame
ans$
&hile P Lans $ -o Lans Y Q
do
echo 1=isting names are
echo
cut -f:-H -d 8 suppl$info:.dbf[sort -n
echo enter name &hose record $ou &ant to delete
read name
flag
8/20/2019 Linux Report Neha
35/71
&hile P Lflag Q
do
case Lname in
XP]6-DQX)
a:
flag:
FF
X)
a;
FF
esac
if P La @;@ Q
then
echo enter name in chracter onl$
read name
flag
fi
done
if P -7 Lname Q
then
echo please enter the name
read name
fi
grep -i -& Lname suppl$info:.dbf
if P L> -eq Q
then
grep -i -& -# Lname suppl$info:.dbfO%r77.sh
8/20/2019 Linux Report Neha
36/71
m# %r77.sh suppl$info:.dbf
echo ame is deleted
echo
else
echo ame does not e=ist
echo
fi
echo o $ou &ant to delete another record(Y6)>
read ans
if P Lans n -o Lans Q
then
sh menuf.sh
fi
done
8/20/2019 Linux Report Neha
37/71
S&)!# %$) D((#( . I*=D(!4">
clear
echo
echo
echo
echo
echo XXXXXXXXXXXXXXXXXXXXXXXXX11T1 BY
IXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX
echo
echo
echo elete id
ans$
&hile P Lans $ Q
do
echo e=isting id no are
echo
cut -f:-H -d @8@ suppl$info:.dbf[sort -n
echo
echo enter id &hose records to delete
read idno
flag
8/20/2019 Linux Report Neha
38/71
&hile P Lflag Q
do
case Lidno in
XP]6a-7QX)
a:
flag:
FF
X)
a;FF
esac
if P La @;@ Q
then
echo
echo enter idno in digits onl$
read idno
flag
echo
fi
done
if P -7 Lidno Q
then
echo please enter idno
read idno
fi
grep -i -& Lidno suppl$info:.dbf
if P L> -eq Q
then
8/20/2019 Linux Report Neha
39/71
echo
grep -i -& -# Lidno suppl$info:.dbfOsa77.sh
m# sa77.sh suppl$info:.dbf
echo record is deleted
else
echo idno does not e=ist
echo
fi
echo o $ou &ant to delete another record(Y6)>
read ans
if P Lans n -o Lans Q
then
sh menuf.sh
fi
done
8/20/2019 Linux Report Neha
40/71
S&)!# %$) 3$*!% 6(=M$*!%!4">
clear
echo
echo
echo
echo
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXMI2Y
1*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
echo
echo
echo To update record from atabase
echo
ans$
&hile P Lans $ -o Lans Y Q
do
echo e=isting records are
cut -f:-H -d 8 suppl$info:.dbf[sort -n
echo enter idno &hose record $ou &ant to update
read idno
&hile P -7 Lidno Q
8/20/2019 Linux Report Neha
41/71
do
echo on@t lea#e it blan%
echo enter idno
read id
done
flag:
&hile P Lflag: Q
do
case Lidno in
XP]6a-7QX)
a:
flag::
FF
X)
a;FF
esac
if P La @;@ Q
then
echo 1nter digits onl$
echo 1nter id
read id
fi
done
^name
echo 1nter ame
read name
&hile P -7 Lname Q
8/20/2019 Linux Report Neha
42/71
do
echo on@t lea#e it blan%
echo 1nter ame
read name
done
flag:
&hile P Lflag: Q
do
case Lname in
XP]6-DQX)
a:
flag::
FF
X)
a;FF
esac
if P La @;@ Q
then
echo 1nter charchters onl$
echo 1nter name
read name
fi
done
echo enter gender
read gen
if P Lgen m -o Lgen M Q
then
8/20/2019 Linux Report Neha
43/71
echo gender is male
elif P Lgen f -o Lgen 2 Q
then
echo gender is female
else
echo &rong choice
fi
^nationalit$
echo enter ationalit$
read nationalit$
&hile P -7 Lnationalit$ Q
do
echo on@t lea#e it blan%
echo enter nationalit$
read nationalit$
done
^address
echo enter address
read address
&hile P -7 Laddress Q
do
echo ont lea#e it blan%
echo enter the address
read address
done
^phone
echo enter mobile number in digits onl$
8/20/2019 Linux Report Neha
44/71
read phone
aL^phoneV
echo La
if P La -lt : -o La -gt : Q
then
echo enter number again
read phone
fi
&hile P -7 Lphone Q
do
echo dont lea#e it blan%
echo enter mobile number
read phone
done
flag:
&hile P Lflag: Q
do
case Lphone in
XP]6a-7QX)
a:
flag::
FF
X)
a;
FF
esac
if P La @;@ Q
8/20/2019 Linux Report Neha
45/71
then
echo enter mobile number in digit
read phone
flag:
fi
done
grep -i -& -# Lidno suppl$info:.dbfOsuppl$info;.dbf
m# suppl$info;.dbf suppl$info:.dbf
echo Lidno 8Lname 8Lgen 8Lnationalit$ 8Laddress 8Lphone[dd
con#ucaseOOsuppl$info:.dbf
echo do $ou &ant to continue($6n)>
read ans
if P Lans n -o Lans Q
then
sh menuf.sh
fi
done
8/20/2019 Linux Report Neha
46/71
S&)!# %$) "()&!'6 6(=S()&34">
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXS14*9
1*XXXXXXXXXXXXXXXXXXXXX
echo
echo
echo
echo :.S14*9 BY S0I1 4M1
echo ;.S14*9 BY S0I1 I
echo 3.1T0 T M4I 2I1
echo 1nter choiceread choice
case Lchoice in
:)
sh searchf.shFF
;)
sh searchi.shFF
3)
sh menuf.shFF
X)
echo enter correct choice
sh searchm.shFF
esac
8/20/2019 Linux Report Neha
47/71
S&)!# %$) S()& . N3(=S()&%4">
clear
echo
echo
echo
echo
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXS14*9 1*
BY 4M1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
echo
echo To search record from databas
echo
ans$
&hile P Lans $ -o Lans Y Q
do
echo e=isting records are
echo
cut -f:-H -d 8 suppl$info:.dbf[sort -n
echo enter name &hose record $ou &ant to search
read name
flag
8/20/2019 Linux Report Neha
48/71
&hile P Lflag Q
do
case Lname in
XP]6-DQX)
a:
flag:FF
X)
a;FF
esac
if P La @;@ Q
then
echo
echo enter name in character onl$
read name
flag
echo
fi
done
echo
if P -7 Lname Q
then
echo enter name
read name
fi
echo id name gen nationalit$ address phone
grep -i -& Lname suppl$info:.dbf
if P L> -eq Q
8/20/2019 Linux Report Neha
49/71
then
echo
else
echo name does not e=ist
echo
fi
echo o $ou &ant to continue
read ans
if P Lans n -o Lans Q
then
sh menuf.sh
fi
done
8/20/2019 Linux Report Neha
50/71
S&)!# %$) S()& . ID=S()&!4">
clear
echo
echo
echo
echo
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXS14*9 1* BY
IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
echo
echo
echo To Search ecord from atabase
echo
ans$
&hile P Lans $ -o Lans Y Q
do
echo e=isting recors are
echo
cut -f:-H -d 8 suppl$info:.dbf[sort -n
echo enter idno &hose record $ou search
read idno
8/20/2019 Linux Report Neha
51/71
flag
&hile P Lflag Q
do
case Lidno in
XP]6a-7QX)
a:
flag:FF
X)
a;FF
esac
if P La @;@ Q
then
echo
echo enter idno in digits onl$
read idno
flag
echo
fi
done
echo
if P -7 Lidno Q
then
echo enter idno
read idno
fi
echo id name gen nationalit$ address phone
grep -i -& Lidno suppl$info:.dbf
8/20/2019 Linux Report Neha
52/71
8/20/2019 Linux Report Neha
53/71
S&)!# %$) D!" 6(=V!(%4">
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXIS4Y
1*XXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX
echo
echo
ans$
&hile P Lans $ -o Lans Y Q
do
echo id name gender nationalit$ address phone
cut -f:-H suppl$info:.dbf[sort -n
echo do $ou &ant to continue...($6n>)
read ans
if P Lans n -o Lans Q
then
sh menuf.sh
fi
done
8/20/2019 Linux Report Neha
54/71
S&)!# %$) E9!# 6(=E9!#%4">
echo
echo
echo
echo
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo T94!S 2 ?ISITI+
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8/20/2019 Linux Report Neha
55/71
OUTPUT
8/20/2019 Linux Report Neha
56/71
8/20/2019 Linux Report Neha
57/71
8/20/2019 Linux Report Neha
58/71
8/20/2019 Linux Report Neha
59/71
8/20/2019 Linux Report Neha
60/71
8/20/2019 Linux Report Neha
61/71
8/20/2019 Linux Report Neha
62/71
8/20/2019 Linux Report Neha
63/71
8/20/2019 Linux Report Neha
64/71
8/20/2019 Linux Report Neha
65/71
8/20/2019 Linux Report Neha
66/71
8/20/2019 Linux Report Neha
67/71
8/20/2019 Linux Report Neha
68/71
8/20/2019 Linux Report Neha
69/71
F+#+)( S&$(
This pro'ect has a #er$ bright scope. This pro'ect basicall$ reduces the paper
&or%. This pro'ect also pro#ides the supplier database to chec% the records
of a person easil$ and efficientl$. Supplier database also sa#es the time of
supplier and the$ can fetch the information #er$ easil$.
8/20/2019 Linux Report Neha
70/71
BIBLIOGRAPHY
inu= S$stem 4dministrator@s +uide, 1dited b$ ars "ir7enius, :DDE, inu=ocumentation ro'ect
4#ailable on the home page, or directl$ at http866&&&.tldp.org66sag6
4n e=cellent first boo% on ho& to maintain and administer a inu= s$stem
inu= in a utshell, 2ourth 1dition, 1llen Sie#e, Stephen 2iggins, 4aron
"eber, ;3, ISB -RDH-
8/20/2019 Linux Report Neha
71/71
WEBLIOGRAPHY
• 46$$6(4&$3
• 4!'+9%$)+34$)6?%$)+3
• 4!'+94$)6?#+#$)!
• 4%$)#"#$'("4&$3
http://www.google.com/http://www.linuxforum.org/forumhttp://www.linux.org/tutorialhttp://www.fortystones.com/http://www.google.com/http://www.linuxforum.org/forumhttp://www.linux.org/tutorialhttp://www.fortystones.com/