Professional Documents
Culture Documents
Midlom-2
yotax
Exomple:
Cacalea diarctcay Basant'ancd chanje dunsrda
to d .
Smkali Basant
scd Bas ont
IBasands
Inp yi Make-file
Cerkpchello :
echo Hello wald
Output amake
echa"Helia world
Aellowaz Ldl
.
hello
echo Hello ea ld
Outpu make
Hello WGald
Another exapple
Input ui Makefile
Cacatung.fileg
@echaCacalins es
touch ile-1.33.ixt
lstfiles
@echo Lst flea
Is
Output make
Caeart1ngfiles
ile.3.Art
$make. ust.files
us fks
s
Makefileile2.txt le2.t
le-Axt
do yau meanlby package Manajernaman
and
explaoequntH uad Package manage
macas
Honbu and MacPais
WIndar
Chocolaety. and Scaop
Sama tquontty wed Package-Manaaon
)APTC Aduanced Packase Tooll
Thu u a command ing
pacKaje managun ued by drbtan and Uburtu dunux
dutar bution 9 bnaun ta lts eako o s and
abilHyto handle commplax dependency 31 blo packaje
can install ,updatt and t matt packagtwith a
tc Simelt commanda.
2) YOMLYellowdos updatr Modihiun
hu a CommaLcl
un packaje anagcn uled by Red hat andCendos
unus dstibutom u s Knaum Ia is siabdidy and
SeCnuty and Can handle ccmpllk depCn dencysclallan
shp betwcen packaqes YoM uwCsapaluto*l to
manasE Sottuae packaz) and Can aiolu
dependoneis auto mat1cally
3)Pacman
lhyul Command-li packaje manaen uikd
by Pach unux u Enoum la is spaed ard Sinpliat
n d can hondliComplt depencleac atlotioa1shup betute:
packajeA. Paemap uAla packaje databcc thad
Condcun unhemation abaut auauabla_packagcg
and than dependoncy ,CanInstalLupdals and
cmopackaje with a tew suyels Command
Qus3 waik a shell scaipt ftr atad and prmnt elements of
Ccy-
#1bnlbash aay
3)
echo"Enter thc _elememtsat
Tead-a aay na
<cho
cho PintN the clemtnelso
echa saayl@
nathn way
11binlbash
cha Enter the sl2e of amay
eodS12e
echa Enkex the elements af orray
tor L in $leualecho o.expr si2e -" )
do
read oreuyLiJ
dane
echo Px1ot1ns the elements ot art
Ioriin $leual echa fo\expr $sne -12")
do
acho sanrauCil
done
Outpud
Ho mmuch elements you want to pa1nt:20
Paintins 20 elements of aray.
2
3
2 S84
4181
Sumat 20 elemens at t1banacc emes.= IQ945