Professional Documents
Culture Documents
COMMAND DESCRIRTION
Io open tesminal
di/Ls Shows all iley and Foldexs
ls list vieso ottiles a foldevs
useg naua) ot dl| available cornmnds
esc Quit witkout Savi n1
Save, a d Qut
mkdis(hae)
to get back to the 'tolder
rwious
Shons Pesert working diret
diveet
Content ot te Specitied
Cot<ile ameetension name Shos eset
Copies Dne ile to othe spe iti
CP< Filernanne>destnatio> destiosh'on
Sudo -to rnove t Totsuper uss da)
Tm<filename
whoami
Dmove a
to
e to one
diredoy
ghos the Vein t the og
Cat /etc/*selease
Sdo apt iosellgce Compilkr
0veto nest
tinVoiddudeKstmain)dio
Pinte( Enter Cit nunberi,
SCanf(u%,
Surn atb, 2);
)
2. Wi ntal nymbers in VI
Fcdeitb h
void mail)
(nt n, ,umo;
Pintt Entr the value
Sumyymti
Chee weth a nvber is
Rime not in ito
Fincludcstti h
int main)
Pintt "Fater the numbex,")
rtn0
°Et the nunber:
ead
R
only
lenme.entns
2 n utchnd
Peimini
on)
lnereetension 000 chnd
aphabetiey Hle list
a - \s
mode a
ile change chrnod
Commnds,
ther
enfenion Hlenarne
other
etecute
Read
Mode
Code, echo
\Aleleormeto cREe
outut Wellome to BcRFC
e i (ta+ b))
Ou thutEnts st bes
Eot Seond nuuber
The l2
ode. echo" Ente
hen
elge Eigiblernting
Not
Eigible
outhut Enttx
Code
Eugblervoting
The sene is:"
ei"
LahileCsi-elo}
do
ses 4(ear
done
uth ut Ents a nnbes: &
5 2^ |S
S*S25
ase.
Duthut: Entes
Ashil
narnes, $$nameC-1,4name C1?
Nanedsa
The
Ashisu
Nasesdre
ite a shl s e t t
vaiable: enter marne ittt ead
ech" Noe
Ccho"eREPLY"
out ut Name,Ashish
Ashih
4 ie a selict to pass Pararnet in commend
line
de; echol
Code
echoz
echo3
echo4
Duttput Welcone
To
We lcooe To BcREc.
Sead UseorneU
then
thenecho
qreen" -o fehreen-o $Colo GREEN
then
elee
els 'ahut'
Eater Cols
atut rce
0
74and betwen isnasleA
Ghrade Enter tut: Ou
is
echo
16" be tosks
19". and betoe)
o martey
is echs"
io0." and beboeen
qo masks
is )echo
$grdde
in Case
rade Enter eeho Cod
A40-od
the to aite
tte rade ester
a shellsenit
to
AssiGNMENT-S
2. ite
number
shellseribt to eat
viny ntl.
Code: i=|
unilCsi
letitt
done
|2
30
6o
-then
echo
Ais equalto g"
e lse
Not eual
i
oe
it test-Z a
then
lie
echo" ating is not embty
outut' Stsiy is