Sunteți pe pagina 1din 2

U N IX C O M M

Qu i t S tu d y
A
o n l in e a t gu / z t e t
Co m í
N D S ( Sa m
Jy u z p
u ra i Pr a c ll c e )
; : ?
:
1s 1t , t 1I x p 1a y t h e m 0s t rp c e n t ly n i o d ifie d file KW Pl ñn d H t h e l Bn e » t h « t d a N O r h a w : a t h t
e p v a
/ 4 w
m kd i r p c l tea t e a ïx l t h d r / 0 2 / d A ke )w o n l KW

hm d 7 S5 r e m o \ re w r i t e p r KW F 1 fi n d a l l th e f i l e s w i th a s pp c i ñ c k e yw t Bt t \ i n
{ o pe m n i s s i o n s to a w e
ll o th e r s i n th c
s y s te m e x c e t h e c u r p n t di r e i · to r y a n d su b· r e c h wk a
pt o w n er

hm d 444 F 1 kee p ly d pe r m is s i
/\
A F1 f i n t 1n l l t h e l i n i :s in a ñ l e di a t ST A R T w it h A
c o o n rea
o n s a n
P0 gr e p
d rem o ve
e v e r y th i n g else o n a fi l e F 1 fi n d ll the lin in i l e t h a t EN D it h z
p Z$ Fr
e ta es a w
? gr
c hm o d R c h a n g e pe r m i s s i o n s t o fo l de r
a n d ll b. v
^
$ F1 > rem ov e bl a n k l in tw
fo l d e r s a n d files
a su pn 8F e p
F z ; m v Fz Fr

o f a to l d e r an d a ll its su b 29 cv f d i r Ta r
I t J 1U t : a n a m es
Di r
1n s c rea te a s o fu i n k t o a d i r e c to r)
Ta r M d i r Ta r e x tr a c t a t a r fi l e
Bu

e m v ren a m e a f i le / di r ec t o ry
Ta r zc r f d i r Tg z b u n dl e an d co m pres s a di m to ry a t a tim e
31

c p p r co py a di r e c t o r y a n d its su h d i r e c t o D e s fi l e s d ir

3? gz i p / g u n z ip z ip a fi l e
pe r m i s s i o n s a n d ti m es ta m
ps
B5 Ho w to e x t r a c t a Gz f i l e
0 Rm r f i f th e o w n er do e s n ot M Y D I R gz
have w r i t e pe r m is s io n
34 Ps ef L is t a ll pro c es s es n 1n n in g in the s ys t e m
11 He a d n d i s p l a y t h e i r st 3 l i n es o f a file
35 Ki l l 9 P 1D te r m i n a te a p r o c e s s
12 ta il 1 di s p l a y t h e l a s t l i n e o f a ti l e
30 Ki l l 3 P Ï D ta ke a th r ea d du m p
13 Ta il f c o n ti n u o u s ly ito r a r u n n in
m o n
g l o g fi l e
37 Ki u 1 ki l l a ll the pr o c es s es i n c l u d i n g th e cu rren t
14 {i n d fi n d a ll th e x m l fi l e s i n s i de a di r e c to ry d
a n te rm in a l
/ho m e/ n c o deit i ls su bd i r e c t o r i e s
n a m e
'
l
le To p fi n d t h e C P U u ti l i z a t io n
x m

li n d 39 To p b n 1 > ca pt u r e th e tp u t f to p d in
15 fi n d a l l t h e f 1l e s l a r g e r t h a n ro m b in a
o u o co m m a n a fi l e
t o p o u t B ct
tho m e/n co deit di r e c t o r y
siz e + l o m 4. sa r 2 3 fi n d t h e s y s t e m a n a l y s i s re po r t ( ta k e re po r t
?e i nd fi n d a l l t h e fi l es o l d e r t h a n 7 da y s
3 t i m e s a ft e r e v e r y 2 s e c o n ds )
: Fr ee m fin d th e m em o ry o n th e s ys t e m
m tim e + 7
42 u lim it a %n d t h e m e l i m i t f Dr t h e us e U
1T fi n d ñn d a l l t h e ti l e s n ew er h a n 5 da ys
43 U n a m e l i n d th e ty pe
/ ho m e/ n
a o f o pe r a ti n g s ys t e m
co deit
m tim e 5 4 \ Id i d e n t i ty f
o cu rren t user

i nd f i nd al l t he m i ï i ed in · c/ pa s s w d
f i l es t ha n we r e no t o d e t f i nd al l t he us e r s i n t he sy s t em
lho m eln co deit t h e l a s t 6 da y s
46 Df k ón d ho w
m ti m e 6 m a n y ti l e s ys t e m s are th er e in th e
s ys te m a n d ho w m uc h s pa ce i s f r ee
19 li n d fi n d a l l t h e f 1l es o f 1 da y an d o l de r
47 Du s k ·
fi n d t h e s iz e o f di r e c to r i e s
/ ho m e/n c o d e it
m ti m e + l 48 Du s k *
1s o r t li n d t h e s iz e o f di r ec t o r i es a n d so rt th e m in
20 fi n d ^ in c r ea s in g o r cl e r
fi n d a ll th e fil es th a t a re m o d i f i e d t o da y
/ho m e/n c o deit 49 Ii n d Na m e
·
f i n d a l l t h e fi l e s i n a di r e ct o ry a n d su h
m tim e di r e c t o r i e s
1

fi n d I i f co i p a dd r e s s f
fi n d t in g w i th a k n fig o a s y st e m
a l l t h e fi l e s t h a t a r e s ta r
/ h o n he /n c o deit C A PI T A L O r SM A L L
na m e *
s n e ts ta t n a fi n d i f a g i v e n po r t is i n use or n ot
a
lw e p p o r t n o
aB gr e p K W P
la r
pa r t ic u
r fi n d th e l i n ith
es in a fi l e w a ls o f I fi n d w h i c h pr o c e s s i s us in g a g im po r t
tc p : <p o r t >
?1 gr ep I+0jj/ ;I
I KW F
r Bi n d t h e k e y w o r d in a fi l e ign o r in g th e
CA SE : : Le x i

Scanned by CamScanner
h l 1q l 1l R +r w B11 q
Il m i 1b r wpl 1i l l l l 1 1Bt ï t l
B

1* Bj 1a P i l t
tm c e r o \ 1t c
Ï r1 \ , p B1q I I .
'
"H«Bi I +p }* ¥ * 1Tnr BB1andf mt a k i n « a
i n p \ i 1 1 r r 1I P I l ï , : ir n1 1
im ss
& 1Í P M · l l ï r i Bp
r T Bi ï l ,1 s l t 1' 1 i >i l 1t t 1* l r
n c z 1p p n r t 1ì n \ l i l n q p & . 1n c 1H J b B¢* p l . u r n p
1 I 1 p n 1n
1p i R \ i n t r n i n p 11 , 1 I 1s l\ lp * i P
ll¢ 1i 1 ,
¢+nm
«1*bl»*ryV 111
p p t1 1w l l
t mn n p t 1i v i ï v t 1p l w Pi t t
. _ - - » _ ' " - "

s y × tr m s 1h 1t 1 h P *
I I t r BH
n w r l 11m Hp n l B* v B1 t Ä1f r ï ml i nd J r t 1e a l r d u m p
1t h f i le / t lo y ln u ilï ïi lp ' "
w ge t u r o t e n n n
i ¢n « ï ,/ c 1h
c u r i u r l t o t hf i l e u n ix pm111i \ l W¢ 1
v1 r l ï l i na i n a hl >
/ p nf u nw t 1 1\ 0. ( ' i )q i r 1" B
a t r o c / cp u i h tu l i nd 1 tl
># ï n« f Bl p r
s y s tt: m p r u ñ l i n # 1r # J l 1i v 1V M a n a l ys i s

1Bl 1l 1 1w I 1 1 1 l B1
e x e t u t e t 1\ t t t n 1n n \ 11 1

tha t

i ïn r n l in
ó 4l s o u r c e e n v H o w do yu u s e \ i l n t n v rn n

t h e c \ 1r r e n t s e s s i n n

l fi n the h e ll i l 1 i1 1111 i x
# :/ b i n /ba s h hu w to t e e s

s t :r i pt

ho d t pu t f on e
p ip e w to s e n o u n
62

co m m a n d as i n pu t to a n o thc r

co m m a n d

a fi l e f r o m o n e s ys te m to
63 s c p co py
an o th e r s ys t e m

di r e c to r y fr o m o n e s ys te m to
64 Ta r it a n d s c p it co py a

a n o t h e r s ys t e m

es s s h o pe n a s es s i o n in a r em o te s ys t e m

(, 6 Rc p /r s h
Re pl a c ed w i th m o r e s ec u r e s c p/ s s h

t a k e t h e o u tp u t o f pr e v io u s
67 x a r gs
co m m a n d as i n pu t s to n ex t

co m m a n d

fi n d fi l e l d it
63 Fi n d /ho m e /n c o d e it a a x m a n rem o v e

/ I x a r gs r m Usin g a s in gle co m m a n d
n a m e a x m

r f
I kn ow th e c o m m a n ds b u t n ev er
459 Aw k ls ed
use d it

】 di s p l a y a h i dd e n f i l e
;: 0 s a

71 M v Fr F1 c r e a te a h i d d e n fi l e

71 to u ch F1 c re a te a z er o b y ße s fi l e

; 3 To u c h F1 up d a t e th e t i m e s t a m p o f a fi l e
w i t h o u t o pe n i n g i t

rt Te l n e t I P P O RT t e l n e t t o a n o t h e r s ys t e m Bu t i t s n ot


ava i l a bl e n ow a d a y s Se c u D w
Ri s k

76 /etc /ho s ts I P & h o s tn a m e m a ppi n g w h er e is


,

i t de f i n e d i n t h e s y s t e m

Scanned by CamScanner

S-ar putea să vă placă și