8 1 , 9 ( 5 6 , ' $ ' , , , ( 6 & 8 ( / $ ' ( / 2 6 $ 1 ' ( 6 / $ 7 , 1 2 $ 0 ( 5 , & $ 1 $ 5 ( ' ( 6 0 e 5 , ' $ ( ' 2 0 e 5 , ' $ 9 ( 1 ( = 8 ( / $ 7$// (5 8 1,; (ODERUDGR SRU -RVp 9LFHQWH 1~xH] =XOHWD ' ( 7$%/$ '( & 2 1 7 ( 1 , ' 2 $JUDGHFLPLHQWRV ,QWURGXFFLyQ ¢&yPR SXHGR VHU XQ EXHQ XVXDULR" %UHYH KLVWRULD GHO VLVWHPD 81,; &RPR HQWUDU \ VDOLU GHO VLVWHPD RSHUDWLYR $'9(57(1&,$ &XDQGR GHEH XVDU HO ORJLQ URRW &RPR FDPELDU GH SDVVZRUG 'RFXPHQWDFLyQ HQ OtQHD GHO VLVWHPD 127$ VREUH OD D\XGD HQ OtQHD ¢4XLpQ HVWi HQ HO VLVWHPD" 1RFLRQHV GH DUFKLYRV \ GLUHFWRULRV ¢4Xp HV XQ DUFKLYR" ÉUERO GH GLUHFWRULRV HQ 81,; /LQX[ \ SHUPLVRORJtD GH DUFKLYRV 0RYLpQGRVH HQWUH GLUHFWRULRV $WDMRV SDUD PRYHUVH HQWUH GLUHFWRULRV &UHDQGR \ HOLPLQDQGR GLUHFWRULRV 9LHQGR ORV DWULEXWRV GH ORV DUFKLYRV 'RV DWDMRV ~WLOHV \ " 8VR DGLFLRQDO GH ORV FDUDFWpUHV HVSHFLDOHV 9LHQGR HO FRQWHQLGR GH XQ DUFKLYR GH WH[WR &RSLDQGR PRYLHQGR FDPELDQGR HO QRPEUH D ORV DUFKLYRV &UHDQGR DUFKLYRV 3HUPLVRORJtD \ SURSLHGDG GH DUFKLYRV 3HUPLVRORJtD GH ORV DUFKLYRV 127$ DFHUFD GH OD SHUPLVRORJtD GH ORV DUFKLYRV 3URSLHGDG GH ORV DUFKLYRV 127$ VREUH HO FDPELR GH JUXSRV \ XVXDULRV (QODFHV (GLFLyQ GH DUFKLYRV FRQ HO HGLWRU YL 127$ VREUH ORV FRPDQGRV GH YL %XVFDQGR FDUDFWHUHV ¢&yPR EXVFD FDUDFWHUHV HO XVXDULR DYDQ]DGR" 5HHPSOD]DQGR FDUDFWHUHV ¢&yPR VHU XQ XVXDULR DYDQ]DGR" (MHFXFLyQ GH SURFHVRV HQ VHJXQGR SODQR (VWDGR GHO SURFHVR GH XQ XVXDULR 7HUPLQDFLyQ GH SURFHVRV HQ UHVHUYD (MHFXFLyQ GH XQ SURFHVR HQ XQ LQVWDQWH HVSHFtILFR &RPELQDFLyQ GH P~OWLSOHV FRPDQGRV (QWUDGD \ VDOLGD GH FRPDQGRV &RPSOHWDFLyQ GH FRPDQGRV 8VR GH SDWURQHV 5HXWLOL]DFLyQ UHSHWLFLyQ \ VXVWLWXFLyQ GH FRPDQGRV &UHDQGR DWDMRV SDUD FRPDQGRV 8VDQGR VXVWLWXFLyQ GH FRPDQGRV 8VDQGR FRQWURO GH WUDEDMRV 7UDEDMR HQ PDTXLQDV UHPRWDV &RSLDQGR DUFKLYRV GH XQ VLVWHPD D RWUR &RPDQGRV PLVFHODQHRV SDUD HO PDQHMR GH DUFKLYRV &RPSULPLHQGR DUFKLYRV FRQ J]LS (PSDTXHWDQGR DUFKLYRV FRQ WDU WDSH DUFKLYHU %XVTXHGDV DYDQ]DGDV GH SDWURQHV \ DUFKLYRV 8VR GH JUHS SDUD EXVFDU SDWURQHV 8VR GH ILQG SDUD EXVFDU DUFKLYRV %LEOLRJUDItD ,1', & ( ' ( ,/8 675$&,2 1(6 ,OXVWUDFLyQ ÉUERO GH GLUHFWRULRV EDMR /LQX[ ,OXVWUDFLyQ 7LSRV GH SHUPLVRV SUHVHQWHV HQ XQ DUFKLYR EDMR 81,; ,OXVWUDFLyQ &DGHQD GH DFFHVR SDUD PRGLILFDU OD SHUPLVRORJtD GH XQ DUFKLYR ,OXVWUDFLyQ (TXLYDOHQFLD HQ Q~PHURV ELQDULRV GH OD SHUPLVRORJtD GH XQ DUFKLYR ,OXVWUDFLyQ 7HFODV VXEVWLWXWDV GH PRYLPLHQWR SDUD 9L ,1', & ( ' ( 7$%/ $ 6 7DEOD &RPDQGRV XVXDOHV GHO HGLWRU 9L 7DEOD &RPDQGRV XVDGRV SDUD FRQWURO GH WUDEDMRV $*5$'(&,0,(1726 4XLVLHUD DJUDGHFHU D ODV VLJXLHQWHV SHUVRQDV SRU VXV FRUUHFLRQHV \ VXJHUHQFLDV HQ OD HODERUDFLyQ GH HVWH GRFXPHQWR • • • • • • • • • 'DQLHO 3UDGLOOD GDQLHO#LQJXODYH 1HVWRU $QJXOR 5HLQD QHVWRU#LQJXODYH 0yQLFD 9HQHJDV PRQLFDY#LQJXODYH $OSKD 3HUQLD DOSKD#LQJXODYH *XVWDYR &DPDUJR WDYR#XODYH /HRQDUGR &RQWUHUDV OHRF#XODYH 3DXO\ 4XLQWHUR SDXO\#XODYH &DUORV 1DYDV QDYDF#XODYH 9DQHVVD +DPDU YDQHVVD#XODYH ,1752'8&&,Ð1 (VWD JXtD WLHQH FRPR REMHWR VHU XQD UHIHUHQFLD UiSLGD D DTXHOORV FRPDQGRV \ yUGHQHV TXH VRQ XVDGDV HQ 81,; FRQ PD\RU IUHFXHQFLD \D VHD FRPR XVXDULR SULQFLSLDQWH R DYDQ]DGR 3DUD TXH HO XVR GH HVWD JXtD VHD PiV HIHFWLYR VH UHFRPLHQGD TXH HO OHFWRU YD\D SUDFWLFDQGR ORV FRPDQGRV DTXt GHVFULWRV DO ODGR GHO FRPSXWDGRU SDUD TXH SXHGD FRPSUREDU ORV UHVXOWDGRV SRU Vt PLVPR 7DPELpQ VH UHFRPLHQGD TXH HO OHFWRU FRQVXOWH OD ELEOLRJUDItD DO ILQDO GH OD JXtD SDUD TXH DVt SURIXQGLFH VXV FRQRFLPLHQWRV 7RGRV ORV FRPDQGRV IXHURQ SUREDGRV EDMR /LQX[ GLVWULEXFLyQ 6ODFNZDUH 'HELGR D OD YDULHGDG GH LPSOHPHQWDFLRQHV GH 81,; OD VLQWD[LV GH HVWRV FRPDQGR SXHGH YDULDU (VWD JXtD VLHPSUH HVWDUi EDMR FRQVWUXFFLyQ \ SXHGH FRQWHQHU HUURUHV (VWD JXLD YLHQH VLQ JDUDQWtDV GH QLQJ~Q WLSR \ VH SURKLEH VX XVR SDUD ILQHV FRPHUFLDOHV (VWH GRFXPHQWR VH SXEOLFD EDMR OD /LFHQFLD *HQHUDO *18 OR TXH SHUPLWH VX OLEUH GLVWULEXFLyQ JUDWXLWD VLHPSUH TXH VH FRQVHUYH HQ VX LQWHJULGDG \ VH UHWHQJD HO FRS\ULJKW RULJLQDO (VWH JXtD WLHQH XQ FRS\ULJKW GH SRU -RVp 9LFHQWH 1~xH] =XOHWD 3XHGH VHU UHSURGXFLGR HQ FXDOTXLHU IRUPD \ GLVWULEXLGR OLEUHPHQWH PLHQWUDV HO ILFKHUR VH PDQWHQJD LQWDFWR LQFOX\HQGR HVWD OtQHD 6L WLHQH GXGDV DGLFLRQHV FRPHQWDULRV DFHUFD GH HVWD JXLD SXHGH FRQWDFWDUPH HQ OD VLJXLHQWH GLUHFFLyQ -RVH#LQJXODYH /D ~OWLPD YHUVLyQ GH HVWH GRFXPHQWR SXHGH VHU FRQVHJXLGD HQ KWWSZZZLQJXODYHaMRVH 7RGDV ODV PDUFDV UHJLVWUDGDV SHUWHQHFHQ D VXV UHVSHFWLYRV DXWRUHV ¢ & Ð 0 2 3 8 ( ' 2 6 ( 5 8 1 % 8 ( 1 8 6 8$ 5 , 2 " %5(9( +,6725,$ '(/ 6,67(0$ 81,; 81,; HV XQR GH ORV VLVWHPDV RSHUDWLYRV PiV SRSXODUHV HQ HO PXQGR HQWHUR GHELGR D VX JUDQ EDVH GH VRSRUWH \ GLVWULEXFLyQ )XH GHVDUUROODGR RULJLQDOPHQWH FRPR XQ VLVWHPD RSHUDWLYR PXOWLWDUHD SDUD PLQLFRPSXWDGRUDV \ PDLQIUDPHV D PHGLDGRV GH ORV DxRV SHUR GHVGH HQWRQFHV KD FUHFLGR KDVWD FRQYHUWLUVH HQ XQR GH ORV VLVWHPDV RSHUDWLYRV PiV XVDGRV HQ FXDOTXLHU ODGR SHVH D VX LQWHUID] FRQIXVD \ VX IDOWD GH HVWDQGDUL]DFLyQ 81,; HV XQ VLVWHPD RSHUDWLYR PXOWLXVXDULR PXOWLWDUHD (VWR VLJQLILFD TXH PXFKDV SHUVRQDV SXHGHQ HVWDU XVDQGR OD FRPSXWDGRUD DO PLVPR WLHPSR FRUULHQGR GLIHUHQWHV DSOLFDFLRQHV (Q HVWH PDQXDO WUDEDMDUHPRV FRQ XQD LPSOHPHQWDFLyQ GH 81,; OODPDGD /LQX[ /LQX[ HV XQ FORQH GH 81,; GLVHxDGR HQ XQ SULQFLSLR SDUD ODV SODWDIRUPDV ,QWHO \ /LQX[ VRSRUWD XQ DPSOLR UDQJR GH VRIWZDUH FRPR 7H; ; ZLQGRZ HO FRPSLODGRU *18 && \ 7&3,3 /LQX[ HV YHUViWLO HV GLVWULEXLGR GH PDQHUD JUDWXLWD HQ ORV WpUPLQRV GH OD /LFHQFLD 3XEOLFD *HQHUDO GH *18 *18 *HQHUDO 3XEOLF /LFHQVH OR TXH SHUPLWH TXH SURJUDPDGRUHV GH WRGR HO PXQGR KDJDQ KHUUDPLHQWDV SDUD pO D XQ FRVWR PX\ EDMR &202 (175$5 < 6$/,5 '(/ 6,67(0$ 23(5$7,92 'HELGR D TXH 81,; HV XQ VLVWHPD RSHUDWLYR PXOWLXVXDULR SDUD HPSH]DU D XWLOL]DU HO VLVWHPD ORV XVXDULRV GHEHQ UHDOL]DU GRV SDVRV 'HEHQ LGHQWLILFDUVH IUHQWH DO VLVWHPD ORJLQ 'HEHQ GHPRVWUDU TXH VRQ ORV XVXDULRV DXWRUL]DGRV GH OD FXHQWD SDVVZRUG 3DUD HQWUDU D VX PDTXLQD FRQ /LQX[ HVFULED OR VLJXLHQWH (Q HO DYLVR GH HQWUDGD HVFULED VX ORJLQ HQ HO HMHPSOR HV DQJHO Linux 2.0.27 (leon.felinos.ve) (ttyp0) leon login: angel /XHJR LQWURGX]FD VX SDODEUD FODYH HVWD QR VH PXHVWUD SRU SDQWDOOD SRU UD]RQHV GH VHJXULGDG Password: 6L HO LQWHQWR HV H[LWRVR HO VLVWHPD OH SHUPLWLUi HQWUDU Last login: Fri Sep 26 22:37:46 from tigre.felinos.ve Linux 2.0.27. angel has logged on ttyp0 from pantera. leon:~> < SDUD VDOLU HVFULED OD SDODEUD H[LW R ORJRXW leon:~>exit $'9(57(1&,$ &8$1'2 '(%( 86$5 (/ /2*,1 5227 8VWHG WHQGUi TXH XWLOL]DU HO ORJLQ URRW VXSHUXVXDULR GH YH] HQ FXDQGR VL HV DGPLQLVDWUDGRU GHO VLVWHPD FODUR HVWi $OJXQDV FRVDV QR SXHGHQ VHU KHFKDV EDMR 81,; VLQ HQWUDU DO VLVWHPD FRPR URRW 6LQ HPEDUJR GHEH HYLWDU XWLOL]DU OD FXHQWD GH URRW FRPR VX FXHQWD UHJXODU \D TXH OD FXHQWD GH URRW QR WLHQH OLPLWDFLRQHV GH QLQJ~Q WLSR HQ FXDQWR D SHUPLVRV GH PRGLILFDFLyQ GH DUFKLYRV SDUD XQ QXHYR XVXDULR HV PX\ IiFLO GHVWUXLU XQ VLVWHPD 81,; FRQ XQ VROR FRPDQGR 8VH HVWD FXHQWD VyOR FXDQGR VHD QHFHVDULR &202 &$0%,$5 '( 3$66:25' (V FRQYHQLHQWH FDPELDU VX SDODEUD FODYH GH YH] HQ FXDQGR \D TXH HVWD SXHGH VHU DYHULJXDGD SRU SHUVRQDV VLQ HVFU~SXORV TXH WUDWDQ GH HQWUDU DO VLVWHPD GH KHFKR HVWR HV PX\ IiFLO GH KDFHU \ KD\ PXFKDV KHUUDPLHQWDV GLVSRQLEOHV SDUD HOOR 3DUD FDPELDU VX SDVVZRUG GHEH HQWUDU D VX FXHQWD FRPR VH YLR DQWHULRUPHQWH \ GHEH HVFULELU tigre:~> passwd /D PDTXLQD OH SUHJXQWDUi HO SDVVZRUG YLHMR Changing password for angel Enter old password: 8QD YH] LQWURGXFLGR FRUUHFWDPHQWH HO VLVWHPD OH SUHJXQWDUi HO SDVVZRUG QXHYR Enter new password: 6H OH SHGLUi RWUD YH] HO SDVVZRUG SDUD YHULILFDU TXH OR KD\D HVFULWR ELHQ Re-type new password: 8QD YH] LQWURGXFLGD OD SDODEUD FODYH HO VLVWHPD OH DYLVDUi TXH HO SDVVZRUG IXH FDPELDGR FRQ p[LWR Password changed. tigre:~> '2&80(17$&,Ð1 (1 /Ì1($ '(/ 6,67(0$ 81,; SRVHH HQ OtQHD LQIRUPDFLyQ DFHUFD GH WRGRV VXV FRPDQGRV 3DUD YHUORV VyOR WLHQH TXH HVFULELU man [comando] 3RU HMHPSOR VXSRQJD TXH XVWHG TXLHUH DSUHQGHU PiV DFHUFD GHO FRPDQGR SDVVZG TXH DFDED GH DSUHQGHU 3DUD HOOR VyOR WLHQH TXH HVFULELU tigre:~> man passwd < YHUi XQD VDOLGD FRPR OD VLJXLHQWH PASSWD(1) PASSWD(1) Linux Programmer's Manual NAME passwd - change password SYNOPSIS passwd [ name [ password ] ] DESCRIPTION Without arguments passwd will change the password for the current user. First the user is asked for the old password, then prompted twice for the new password in order to catch typing errors. The new password must be at least six characters long, and have both upper and lower case letters or non-letters. The new password must not be equal to the old password, and it must not match the username. The one and two argument forms may only be used by the superuser. Using the one argument form, the superuser may change the password for that user. The superuser is not asked for the users old password, and the rules for proper legitimate reasons to choose a non-conformant password. The two argument form gives the user the password stated as the second argument. This may be useful when giving many users an initial generated password. Giving an empty string as the second argument erases password for the user. FILES /etc/passwd /etc/shells SEE ALSO chsh(1), chfn(1) BUGS A password consisting of all digits is allowed. No warnings are printed if the superuser chooses a poor password. The -f and -s options are not supported. Peter Orbaek (poe@daimi.aau.dk) Linux 1.2 1 22 June 1994 the 4XL]iV VH KD\D GDGR FXHQWD TXH ORV FRPDQGRV SDUHFHQ HVWDU VHJXLGRV GH Q~PHURV HQWUH SDUpQWHVLV XVXDOPHQWH (VWR VH UHILHUH D XQD VHFFLyQ GHO PDQXDO $QWHV FXDQGR ORV PDQXDOHV GH 81,; YHQtDQ LPSUHVRV HQ YRO~PHQHV OD LQIRUPDFLyQ HUD RUJDQL]DGD GH OD VLJXLHQWH PDQHUD QRV UHIHULPRV D OD IDPLOLD GH 81,; %6' QR 6\VWHP 9 • • • • • • • • • &RPDQGRV GHO XVXDULR HQ OD VHFFLyQ /ODPDGDV GHO VLVWHPD HQ OD VHFFLyQ 5XWLQDV HQ & \ RWUDV ELEOLRWHFDV GH UXWLQDV HQ OD VHFFLyQ $UFKLYRV HVSHFLDOHV PDQHMDGRUHV GH GLVSRVLWLYRV KDUGZDUH HQ OD VHFFLyQ $UFKLYRV GH FRQILJXUDFLyQ HQ OD VHFFLyQ -XHJRV HQ OD VHFFLyQ &RPDQGRV PLVFHOiQHRV HQ OD VHFFLyQ &RPDQGRV GH DGPLQLVWUDFLyQ HQ OD VHFFLyQ &RPDQGRV GH PDQWHQLPLHQWR HQ OD VHFFLyQ 3DUD FRQVXOWDU VHFFLRQHV GLVWLQWDV GH XQ FRPDQGR GHEH HVFULELU PDQ VHFFLyQ FRPDQGR 3RU HMHPSOR ODV VLJXLHQWHV RUGHQHV SURGXFHQ VDOLGDV GH LQIRUPDFLyQ GLIHUHQWHV tigre:~> man 2 mount PDQXDO GH SURJUDPDGRUHV SDUD PRXQW tigre:~> man 8 mount VH PXHVWUD HO XVR GH OD KHUUDPLHQWD PRXQW $ YHFHV XVWHG VDEH TXH TXLHUH KDFHU SHUR QR VDEH FRQ TXp FRPDQGR KDFHUOR 6XSRQJD SRU HMHPSOR TXH XVWHG TXLHUH VDEHU FRPR FDPELDU HO QRPEUH D ORV DUFKLYRV EDMR 81,; tigre:~> man -k rename mren (1) - rename an existing MSDOS file mv (1) - rename files rename (2) - change the name or location of a file rename (3tcl) - Rename or delete a command XSetWMName, XGetWMName, XStoreName, XFetchName (3x) - set or read a window's WM_NAME property tigre:~> &RQ man -k [comando] SXHGH KDFHU XQD EXHQD E~VTXHGD FRPR SXHGH YHU VH UHWRUQDQ PXFKRV UHVXOWDGRV 127$ VREUH OD D\XGD HQ OtQHD 5HFXHUGH TXH GH DKRUD HQ DGHODQWH SXHGH REWHQHU D\XGD HQ OtQHD VREUH ORV FRPDQGRV TXH XWLOL]DUi HQ HVWD SUiFWLFD 3DUD TXH HO FRPDQGR FRPDQGR FDWPDQ ²N PDQ ²N IXQFLRQH HQ HO VLVWHPD HO DGPLQLVWUDGRU GHO VLVWHPD GHEHUi HMHFXWDU HO SHULRGLFDPHQWH ¢48,e1 (67É (1 (/ 6,67(0$" (O FRPDQGR tigre:~> root josev jose foto ZKR OH SHUPLWH YHU TXLHQ HVWi HQ HO VLVWHPD GH PDQHUD VHQFLOOD who tty1 ttyp0 ttyp1 ttyp2 Sep Sep Sep Sep 27 27 27 27 11:00 10:38 (pantera.felinos.ve) 10:59 (pantera.felinos.ve) 10:59 (pantera.felinos.ve) tigre:~> 'H L]TXLHUGD D GHUHFKD VH PXHVWUD DO ORJLQ GHO XVXDULR HO WHUPLQDO HQ HO TXH HVWi FRQHFWDGR HQ HO HMHPSOR WRGRV VRQ WHUPLQDOHV YLUWXDOHV H[FHSWR HO TXH GLFH WW\ TXH HV SRU FRQVROD OD IHFKD \ KRUD HQ TXH VH LQLFLy OD FRQH[LyQ \ HO OXJDU GHVGH GRQGH VH OOHYD D FDER WRGRV VH HVWiQ FRQHFWDQGR GH PDQHUD UHPRWD GHVGH XQD PDTXLQD OODPDGD SDQWHUDIHOLQRVYH H[FHSWR URRW 12&,21(6 '( $5&+,926 < ',5(&725,26 ¢48e (6 81 $5&+,92" 8Q DUFKLYR HV OD XQLGDG EiVLFD GHO VLVWHPD RSHUDWLYR 81,; &DVL WRGR HV WUDWDGR FRPR XQ DUFKLYR LQFOX\HQGR • 'RFXPHQWRV (VWR LQFOX\H DUFKLYRV GH WH[WR FRPR FDUWDV FyGLJR IXHQWH GH FRPSXWDGRUD SiJLQDV HVFULWDV HQ KWPO R FXDOTXLHU FRVD TXH XVWHG HVFULED • &RPDQGRV 0XFKRV FRPDQGRV VRQ DUFKLYRV HMHFXWDEOHV (OORV VRQ DUFKLYRV TXH XVWHG SXHGH FRUUHU 3RU HMHPSOR HO FRPDQGR SZG 3ULQW :RUNLQJ 'LUHFWRU\ HV XQ FRPDQGR HMHFXWDEOH • 'LVSRVLWLYRV 81,; WUDWD VX WHUPLQDO LPSUHVRUD \ XQLGDGHV GH GLVFR FRPR DUFKLYRV 3RU HMHPSOR HO GLVSRVLWLYR GHYIG XQLGDG GH GLVFR IOH[LEOH HV XQ DUFKLYR • $EVROXWDPHQWH QDGD ,QFOXVLYH KD\ XQ DUFKLYR HVSHFLDO OODPDGR GHYQXOO HO FXDO HV XQ DJXMHUR QHJUR FXDOTXLHU WLSR GH GDWR HQYLDGR DOOt HV GHVFDUWDGR • 'LUHFWRULRV 8Q GLUHFWRULR HV XQ DUFKLYR TXH VLUYH SDUD FRQWHQHU RWURV DUFKLYRV É5%2/ '( ',5(&725,26 (1 81,; /,18; < 3(50,62/2*Ì$ '( $5&+,926 ([LVWH XQD MHUDUTXtD GH GLUHFWRULRV ORV FXDOHV RUJDQL]DQ ODV XWLOLGDGHV \ KHUUDPLHQWDV GHO VLVWHPD RSHUDWLYR 81,; WRGDV VXV UDPDV FRPLHQ]DQ GHVGH 8VWHG SXHGH YHU HO iUERO GH GLUHFWRULRV HVFULELHQGR tigre:~> ls / System.map cdrom/ dev/ lost+found/ mnt/ root/ boot/ home/ tigre:~> lib/ quota.user var/ proc/ quota.group usr/ bin/ tmp/ sbin/ vmlinuz etc/ 9HDPRV OD MHUDUTXtD GH GLUHFWRULRV FRPR XQ iUERO LQYHUWLGR ,OXVWUDFLyQ ÉUERO GH GLUHFWRULRV EDMR /LQX[ (VWR HV PiV R PHQRV OR TXH FRQWLHQH FDGD GLUHFWRULR • (O GLUHFWRULR UDt] (V OD EDVH OD HVWUXFWXUD GHO iUERO GHO VLVWHPD GH DUFKLYRV 7RGRV ORV GHPiV DUFKLYRV \ GLUHFWRULRV LQGHSHQGLHQWHPHQWH GH VX ORFDOL]DFLyQ ItVLFD VRQ FRQWHQLGRV ItVLFDPHQWH HQ HVWH GLUHFWRULR • ELQ 'LUHFWRULR GH FRPDQGRV ELQDULRV ,QFOX\H ORV HMHFXWDEOHV S~EOLFRV TXH VRQ SDUWH GHO VLVWHPD RSHUDWLYR 81,; • • VELQ (MHFXWDEOHV GH DGPLQLVWUDFLyQ \ IXQFLRQDPLHQWR GHO VLVWHPD GHY 'LUHFWRULR GH GLVSRVLWLYRV FRQWLHQH DUFKLYRV HVSHFLDOHV FRPR LPSUHVRUDV GLVFRV FRQVROD HWF • HWF $UFKLYRV GH FRQILJXUDFLyQ GHO VLVWHPD (VWH GLUHFWRULR FRQWLHQH PXFKRV DUFKLYRV GH DGPLQLVWUDFLyQ \ DUFKLYRV GH FRQILJXUDFLyQ • • OLE &RQWLHQH ORV DUFKLYRV GH OLEUHUtDV SDUD & \ RWURV OHQJXDMHV /RVWIRXQG 'LUHFWRULR GH DUFKLYRV SHUGLGRV (UURUHV GH GLVFR R XQ DSDJDGR LQFRUUHFWR GHO VLVWHPD SXHGH FDXVDU TXH ORV DUFKLYRV VH SLHUGDQ DUFKLYRV SHUGLGRV VH UHILHUHQ D VLWLRV HQ GLVFR TXH HVWiQ PDUFDGRV FRPR XVDGRV HQ ODV HVWUXFWXUDV GH GDWRV GH ORV GLVFRV SHUR TXH QR HVWiQ OLVWDGRV HQ QLQJ~Q GLUHFWRULR /D KHUUDPLHQWD IVFN HQFXHQWUD HVRV DUFKLYRV \ ORV FRORFD HQ HVWH GLUHFWRULR • PQW 'LUHFWRULR GH PRQWDMH (VWH GLUHFWRULR HVWi YDFtR \ VH XVD SDUD PRQWDU WHPSRUDOPHQWH SDUWLFLRQHV GH GLVFRV • • KRPH 'LUHFWRULR KRJDU GH ORV XVXDULRV XVU &RQWLHQH GLUHFWRULRV SDUD ODV FRODV GH LPSUHVLyQ FRUUHR SURJUDPDV JHQHUDGRV ORFDOPHQWH HMHFXWDEOHV SDUD ORV FRPDQGRV GH XVXDULRV • WPS 'LUHFWRULR WHPSRUDO GLVSRQLEOH SDUD WRGRV ORV XVXDULRV FRPR GLUHFWRULR SDUD DUFKLYRV WUDQVLWRULRV • YDU *XDUGD ORV GLUHFWRULRV YROiWLOHV GH ODV FRODV GHO VLVWHPD LPSUHVLyQ FRUUHR PHQVDMHV 029,e1'26( (175( ',5(&725,26 6XSRQJDPRV TXH TXHUHPRV PRYHUQRV DO GLUHFWRULR HWF \ TXHUHPRV H[DPLQDU ORV DUFKLYRV TXH DOOt VH HQFXHQWUDQ 3DUD HOOR XWLOL]DUHPRV ODV KHUUDPLHQWDV FG \ SZG 9HPRV HQ TXH GLUHFWRULR HVWDPRV SDUDGRV DFWXDOPHQWH tigre:~> pwd /home/angel tigre:~> 9HPRV TXH HVWDPRV HQ QXHVWUR GLUHFWRULR KRJDU KRPHDQJHO $KRUD YDPRV D HWF XWLOL]DQGR XQD UXWD DEVROXWD tigre:~> cd /etc tigre:/etc> < ILQDOPHQWH SHGLPRV XQ OLVWDGR GH ORV DUFKLYRV TXH HVWiQ DOOt FRQ OV 6H PXHVWUD VyOR XQ OLVWDGR SDUFLDO tigre:/etc> ls DIR_COLORS sendmail.st HOSTNAME services NETWORKING NNTP_INEWS_DOMAIN X11@ slip.hosts XF86Config slip.login ftpconversions makedev.cfg ftpgroups motd ftpusers gateways group msgs/ mtab mtools.conf host.conf named/ shells skel/ XF86Config.bak snooptab XF86Config.orig ssh_config tigre:/etc> hosts named.boot hosts.allow named.boot.orig 9HDPRV GH QXHYR HQ TXp GLUHFWRULR HVWDPRV WUDEDMDQGR tigre:/etc> pwd /etc tigre:/etc> 9LPRV TXH KD\ XQ GLUHFWRULR OODPDGR VNHO GHQWUR GH HWF FXDQGR XVDPRV OV OD UXWD FRPSOHWD GHO GLUHFWRULR HV HWFVNHO 3RGHPRV LU DOOi GHVGH FXDOTXLHU VLWLR XWLOL]DQGR XQD UXWD DEVROXWD tigre:~> cd /etc/skel/ tigre:/etc/skel> 3HUR VL D~Q FDVR D HWF HVWDPRV SDUDGRV HQ HWF SRGHPRV HQWUDU DO GLUHFWRULR VNHO XWLOL]DQGR XQD UXWD UHODWLYD HQ HVWH tigre:/etc> cd skel/ tigre:/etc/skel> (VWDPRV WUDEDMDQGR HQ HWFVNHO 6XSRQJDPRV TXH TXHUHPRV UHWURFHGHU D HWF VLQ XWLOL]DU XQD UXWD DEVROXWD 3RGHPRV KDFHUOR SDUD HVWH \ FXDOTXLHU GLUHFWRULR FRQ OD VLJXLHQWH LQVWUXFFLyQ leon:/etc/skel> cd .. leon:/etc> /D QRWDFLyQ VLJQLILFD HO QLYHO DQWHULRU PLHQWUDV TXH OD QRWDFLyQ VLJQLILFD HO GLUHFWRULR DFWXDO 6H SXHGHQ PH]FODU WDQWRV QLYHOHV GH FRPR VH TXLHUD FRQ HVWR UHJUHVDPRV GHVGH HWFVNHO D XWLOL]DQGR XQD UXWD UHODWLYD leon:/etc/skel> cd ../../ leon:/> $KRUD UHJUHVHPRV D QXHVWUR GLUHFWRULR KRJDU tigre:/etc> cd /home/angel tigre:~> $7$-26 3$5$ 029(56( (175( ',5(&725,26 ¢4Xp FUHH XVWHG TXH SDVDUtD VL WXYLHUD TXH PRYHUVH GHVGH D XQ GLUHFWRULR GHQWUR GH VX GLUHFWRULR KRJDU SRU HMHPSOR KRPHXVXDULRVHVODUHGDQJHOGRFXPHQWRV" 6HUtD PX\ WHGLRVR KDFHUOR FRQ XQD UXWD DEVROXWD 3RGHPRV XWLOL]DU HO VLJXLHQWH DWDMR FG a OHRQ! FG aDQJHOGRFXPHQWRV OHRQa! SZG KRPHXVXDULRVHVODUHGDQJHOGRFXPHQWRV OHRQa! 3HUR ¢\ TXp SDVD FXDQGR \R GHER PRYHUPH HQWUH GLUHFWRULRV FRQ PXFKRV QLYHOHV GH SURIXQGLGDG \ QLQJXQR GH HOORV PL GLUHFWRULR KRJDU" +D\ YDULDV IRUPDV GH VDOWDU HQWUH GLUHFWRULRV &RQ cd - SRGHPRV UHJUHVDU DO QLYHO GLUHFWRULR DQWHULRU VLQ PXFKR WUDEDMR leon:~> cd /etc leon:/etc> cd /var/spool/mail leon:/var/spool/mail> cd leon:/etc> /RV VLJXLHQWHV FRPDQGRV VRQ PX\ ~WLOHV FXDQGR OD FDQWLGDG GH VDOWRV HV PD\RU TXH XQR SDUD HOOR XWLOL]DPRV OD SLOD GH GLUHFWRULRV leon:~> cd /var/spool/mail *XDUGDPRV HO GLUHFWRULR DFWXDO HQ OD SLOD GH GLUHFWRULRV leon:/var/spool/mail> pushd . /var/spool/mail /var/spool/mail 1RV YDPRV D RWUR GLUHFWRULR \ ORV JXDUGDPRV WDPELpQ HQ OD SLOD leon:/var/spool/mail> cd /etc leon:/etc> pushd . /etc /etc /var/spool/mail leon:/etc> cd /var/adm/ leon:/var/adm> pushd . /var/adm /var/adm /etc /var/spool/mail leon:/var/adm> cd /mnt 9DPRV D FRQVXOWDU OD SLOD SDUD YHU TXH WLHQH HO WRSH GH OD SLOD VH YH GH L]TXLHUGD D GHUHFKD leon:/mnt> dirs /mnt /var/adm /etc /var/spool/mail $KRUD UHJUHVDPRV D FDGD XQR GH ORV GLUHFWRULRV YLVLWDGRV FRQ DQWHULRULGDG XVDQGR OD SLOD GH GLUHFWRULRV leon:/mnt> popd /var/adm /etc /var/spool/mail leon:/var/adm> popd /etc /var/spool/mail leon:/etc> popd /var/spool/mail leon:/var/spool/mail> &5($1'2 < (/,0,1$1'2 ',5(&725,26 /D IRUPD GH FUHDU GLUHFWRULRV HV FRQ PNGLU GLUHFWRULR /RV VLJXLHQWHV HMHPSORV LOXVWUDQ XQ SRFR PHMRU HO XVR GH PNGLU XVDQGR XQD UXWD UHODWLYD XQD UXWD DEVROXWD \ XQ DWDMR leon:~> leon:~> leon:~> leon:~> leon:~> mkdir mkdir mkdir mkdir documentos /home/angel/documentos2 ~angel/documentos3 prueba 3DUD HOLPLQDU XQ GLUHFWRULR XWLOL]DPRV UPGLU GLUHFWRULR (O GLUHFWRULR GHEH HVWDU YDFLR leon:~> rmdir documentos leon:~> rmdir /home/foto/documentos2 leon:~> rmdir ~foto/documentos3 leon:~> ([LVWH XQD IRUPD GH HOLPLQDU VXEGLUHFWRULRV YDFtRV LQFOX\HQGR DO GLUHFWRULR SULQFLSDO FRQ UPGLU leon:~> mkdir prueba1 leon:~> cd prueba1/ leon:~/prueba> mkdir prueba2 &RQ HVWR KDFHPRV HO GLUHFWRULR aDQJHOSUXHEDSUXHED $KRUD TXHUHPRV HOLPLQDU D SUXHED MXQWR FRQ VX GLUHFWRULR SDGUH SUXHED leon:~/prueba> cd leon:~> rmdir -p prueba1/prueba2/ 9,(1'2 /26 $75,%8726 '( /26 $5&+,926 (O FRPDQGR OV FRPDQGR OV HV TXL]iV HO FRPDQGR 81,; PiV XWLOL]DGR FG OH GLFH DO XVXDULR TXp DUFKLYRV \ GLUHFWRULRV HVWiQ HQ XQ GLUHFWRULR 'HVSXpV GHO &RQ DQWHULRULGDG YLPRV TXH OD VLQWD[LV GHO FRPDQGR OV HV OV DUFKLYR 6LQ HPEDUJR OV SXHGH KDFHU FRVDV PiV LQWHUHVDQWHV TXH VyOR PRVWUDU HO FRQWHQLGR GH XQ GLUHFWRULR 3RU HMHPSOR VL TXHUHPRV YHU D WRGRV ORV DUFKLYRV LQFOX\HQGR D ORV DUFKLYRV RFXOWRV HVFULELUHPRV DOJR DVt leon:~> ls -a ./ .ctwmrc prueba/ ../ .fvwm2rc95 leon:~> .history .lessrc foto/ .less .steprc passwd.orig (Q HVWD VDOLGD SRU SDQWDOOD WHQHPRV TXH SDVVZGRULJ HV XQ DUFKLYR QRUPDO PLHQWUDV TXH VWHSUF HV XQ DUFKLYR RFXOWR HV GHFLU TXH QR SXHGH VHU YLVWR FRQ OD LQYRFDFLyQ GH OV VLQ DUJXPHQWRVO /D XWLOLGDG GH ORV DUFKLYRV RFXOWRV HV TXH VRQ XQ SRFR PiV GLItFLOHV GH HOLPLQDU R PRGLILFDU LQDGYHUWLGDPHQWH )tMHVH HQ OD GLIHUHQFLD DO KDFHU VRODPHQWH OV HQ HVWH GLUHFWRULR leon:~> ls foto/ leon:~> passwd.orig prueba/ 7DPELpQ SRGUtDPRV HVWDU LQWHUHVDGRV HQ YHU HO WDPDxR GH FDGD DUFKLYR HQ EORTXHV GH .E WDPDxR SRU RPLVLyQ leon:~> ls -s total 3 1 foto/ leon:~> 1 passwd.orig 1 prueba/ 9HPRV TXH HO DUFKLYR SDVVZGRULJ WLHQH XQ WDPDxR GH .E 6LQ HPEDUJR OD RSFLyQ PiV LQWHUHVDQWH GH OV HV OD VLJXLHQWH leon:~> ls -l total 3 drwxr-xr-x 10 angel -rw-r--r-1 angel passwd.orig drwx-----2 angel users users 1024 Sep 27 17:22 foto/ 652 Sep 27 17:24 users 1024 Jun 26 10:22 prueba/ ¢4Xp HV WRGD HVWD LQIRUPDFLyQ" /D LQIRUPDFLyQ TXH VH OHH GH L]TXLHUGD D GHUHFKD LQGLFD OD SHUPLVRORJtD GHO DUFKLYR Q~PHUR GH HQODFHV HO SURSLHWDULR \ JUXSR GHO DUFKLYR VX WDPDxR HQ E\WHV VX ~OWLPD IHFKD GH PRGLILFDFLyQ \ ILQDOPHQWH HQ QRPEUH GHO DUFKLYR R GLUHFWRULR 9HDPRV OR TXH VLJQLILFD FDGD XQR GH HVWRV SXQWRV FRQ PiV GHWDOOH • • • • • • 3HUPLVRV HV OR TXH SXHGH KDFHU FRQ HO DUFKLYR (QODFHV VRQ OD FDQWLGDG GH SXQWRV SHUPLWLGRV TXH SXHGHQ RFXSDU HQ HO VLVWHPD 3URSLHWDULR HV TXLHQ FUHy HO DUFKLYR 7DPDxR 7DPDxR GHO DUFKLYR HQ E\WHV PiV SUHFLVR TXH OV V 7LHPSR GH PRGLILFDFLyQ FXDQGR HO DUFKLYR IXH FUHDGR HGLWDGR R PRGLILFDGR 1RPEUH HO QRPEUH GHO DUFKLYR R GLUHFWRULR &RPR OR KDEUi LQWXLGR \D HO XVXDULR SXHGH FRPELQDU YDULDV RSFLRQHV SDUD REWHQHU LQIRUPDFLyQ PiV SUHFLVD DFHUFD GH ORV DUFKLYRV TXH HVWi H[DPLQDQGR leon:~> ls -las total 75 2 drwx-----17:24 ./ 1 drwxr-xr-x 19:34 ../ 14 -rw------1997 .ctwmrc 28 -rw------1997 .fvwm2rc95 1 -rw------13:43 .history 1 -rw------1993 .less 1 -rw------1993 .lessrc 24 -rw------13:05 .steprc 1 drwxr-xr-x 17:22 foto/ 4 foto users 2048 Sep 27 5 root root 1024 Jul 1 foto users 13228 Feb 19 1 foto users 26779 Mar 1 foto users 494 Sep 27 1 foto users 34 Nov 24 1 foto users 114 Nov 24 1 foto users 23270 Jul 24 10 foto users 1024 Sep 27 9 8 1 -rw-r--r-1 foto 17:24 passwd.orig 1 drwx-----2 foto 10:22 prueba/ leon:~> users 652 Sep 27 users 1024 Jun 26 0iV DGHODQWH SURIXQGL]DUHPRV HO FRQFHSWR GH SHUPLVRORJtD \ SURSLHGDG GH DUFKLYR '26 $7$-26 Ó7,/(6 < " 81,; OH SHUPLWH D XVWHG WUDEDMDU FRQ PiV GH XQ DUFKLYR D OD YH] DO SURYHHU GRV PHWDFDUDFWHUHV OODPDGRV DVt SRUTXH HOORV VH UHILHUHQ D FXDOTXLHU FDUiFWHU R JUXSR GH FDUDFWHUHV HQ HO QRPEUH GH XQ DUFKLYR 'H HVWD PDQHUD XVWHG SXHGH RSHUDU HQ XQ Q~PHUR GH DUFKLYRV FX\RV QRPEUHV FRLQFLGDQ HO SDWUyQ TXH XVWHG SURYHH 3RU HMHPSOR TXHUHPRV OLVWDU WRGRV ORV DUFKLYRV TXH FRPLHQFHQ SRU K HQ HWF leon:~> ls /etc/h* /etc/host.conf /etc/hosts.allow /etc/hosts /etc/hosts.deny leon:~> /etc/hosts.equiv /etc/hosts.lpd 4XLHUR OLVWDU WRGRV ORV DUFKLYRV TXH WHUPLQHQ HQ FRQI leon:~> ls /etc/*.conf /etc/host.conf /etc/ld.so.conf /etc/syslog.conf /etc/inetd.conf /etc/lilo.conf /etc/yp.conf leon:~> /etc/mtools.conf /etc/resolv.conf &RPR SXHGH YHU pO UHSUHVHQWD FXDOTXLHU Q~PHUR GH FDUDFWHUHV HQ HO QRPEUH GH XQ DUFKLYR 8Q DVWHULVFR SRU VL PLVPR UHSUHVHQWD D WRGRV ORV DUFKLYRV HQ XQ GLUHFWRULR H[FHSWR ORV DUFKLYRV RFXOWRV (Q FDPELR HO FDUiFWHU " UHSUHVHQWD XQ VROR FDUiFWHU HQ HO QRPEUH GH XQ DUFKLYR 3RU HMHPSOR VL TXLHUR OLVWDU WRGRV ORV DUFKLYRV HQ HWF TXH FRPLHQFHQ SRU K \ WHQJDQ OHWUDV leon:~> ls /etc/h???? /etc/hosts leon:~> 3XHGR PH]FODU DPEDV RSFLRQHV /D VLJXLHQWH VDOLGD PH PXHVWUD WRGRV ORV DUFKLYRV TXH WHQJDQ XQD H[WHQVLyQ GH OHWUDV leon:~> ls /etc/*.???? /etc/at.deny /etc/ld.so.conf /etc/host.conf /etc/lilo.conf /etc/hosts.deny /etc/mtools.conf /etc/inetd.conf /etc/named.boot leon:~> /etc/named.boot.orig /etc/resolv.conf /etc/syslog.conf /etc/yp.conf 8VR DGLFLRQDO GH ORV FDUDFWpUHV HVSHFLDOHV /RV FDUDFWpUHV HVSHFLDOHV TXH DFDED GH DSUHQGHU SXHGHQ VHU XWLOL]DGRV WDPELpQ SDUD PRYHU FRSLDU \ ERUUDU DUFKLYRV HV GHFLU FXDOTXLHU RSHUDFLyQ GH PDQLSXODFLyQ GH DUFKLYRV SXHGH XWLOL]DU HVWRV FDUDFWpUHV 9,(1'2 (/ &217(1,'2 '( 81 $5&+,92 '( 7(;72 (O FRPDQGR PRUH PXHVWUD HO FRQWHQLGR GH XQ DUFKLYR XQD SDQWDOOD D OD YH] VL HO DUFKLYR RFXSD PiV GH XQD SDQWDOOD PRVWUDUi OD SDODEUD -moreVHJXLGR GH HO SRUFHQWDMH PRVWUDGR GHO DUFKLYR KDVWD DKRUD HQ HO IRQGR GH OD SDQWDOOD 3UHVLRQH OD EDUUD HVSDFLDGRUD SDUD YHU OD VLJXLHQWH SDQWDOOD GHO DUFKLYR SUHVLRQH D\XGD SUHVLRQH T SDUD VDOLU K SDUD REWHQHU 6XSRQJDPRV TXH TXHUHPRV YHU HO FRQWHQLGR GHO DUFKLYR HWFLQHWGFRQI leon:/etc> more inetd.conf # See "man 8 inetd" for more information. # # If you make changes to this file, either reboot your machine or send the # inetd a HUP signal: # Do a "ps x" as root and look up the pid of inetd. Then do a # "kill -HUP <pid of inetd>". # The inetd will re-read this file whenever it gets that signal. # # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> # echo stream tcp nowait root internal echo dgram udp wait root internal discard stream tcp nowait root internal discard dgram udp wait root internal daytime stream tcp nowait root internal daytime dgram udp wait root internal chargen stream tcp nowait root internal chargen dgram udp wait root internal time stream tcp nowait root internal time dgram udp wait root internal # # These are standard services. --More--(17%) 7DPELpQ SXHGH EXVFDU FDGHQDV GH WH[WR GHQWUR GHO DUFKLYR (VFULED EXVFDGD \ SXOVH HQWHU %XVTXHPRV OD FDGHQD UORJLQ HQ HO DUFKLYR # These are standard services. /rlogin ...skipping # shell stream tcp nowait -L login stream tcp nowait in.rlogind # exec stream tcp nowait in.rexecd VHJXLGR GH OD FDGHQD GH WH[WR root /usr/sbin/tcpd root /usr/sbin/tcpd root /usr/sbin/tcpd in.rshd # talk dgram udp wait root /usr/sbin/tcpd in.talkd #ntalk dgram udp wait root /usr/sbin/tcpd in.talkd # # Kerberos authenticated services # # klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k # eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x # kshell stream tcp nowait root /usr/sbin/tcpd rshd -k # # Services run ONLY on the Kerberos server # # krbupdate stream tcp nowait root /usr/sbin/tcpd registerd # kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd # # Pop et al # # pop2 stream tcp nowait root /usr/sbin/tcpd in.pop2d --More--(57%) &RPR SXHGH YHU PRUH EXVFD OD SULPHUD RFXUUHQFLD \ VH GHWLHQH 2WUD IRUPD GH YHU HO FRQWHQLGR GH WRGR HO DUFKLYR GH XQD VROD YH] HV FRQ HO FRPDQGR FDW leon:/etc> cat /etc/passwd root:XkWExN0RX5KaM:0:0:root:/root:/bin/bash bin:*:1:1:bin:/bin: daemon:*:2:2:daemon:/sbin: adm:*:3:4:adm:/var/adm: lp:*:4:7:lp:/var/spool/lpd: sync:*:5:0:sync:/sbin:/bin/sync shutdown:*:6:0:shutdown:/sbin:/sbin/shutdown halt:*:7:0:halt:/sbin:/sbin/halt mail:*:8:12:mail:/var/spool/mail: news:*:9:13:news:/usr/lib/news: uucp:*:10:14:uucp:/var/spool/uucppublic: operator:*:11:0:operator:/root:/bin/bash games:*:12:100:games:/usr/games: man:*:13:15:man:/usr/man: postmaster:*:14:12:postmaster:/var/spool/mail:/bin/bash nobody:*:65534:100:nobody:/dev/null: ftp:*:404:1::/home/ftp:/bin/bash guest:*:405:100:guest:/dev/null:/dev/null +foto:::::: +jose:::::: leon:/etc> &DW PXHVWUD HO DUFKLYR GH XQD VROD YH] QR VH GHWLHQH VL HO DUFKLYR RFXSD PiV GH XQD SDQWDOOD 3HUR ¢\ TXH SDVD VL HVWR\ LQWHUHVDGR HQ YHU HO ILQDO GHO DUFKLYR VRODPHQWH" leon:/etc> tail /etc/inetd.conf netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd # # Sun-RPC based services. # <service name/version><sock_type><rpc/prot><flags><user><server><args> # # rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd # rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd # walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwal ld # # End of inetd.conf. leon:/etc> 7DLO SRU RPLVLyQ PH PXHVWUD VRODPHQWH ODV ~OWLPDV OtQHDV DO PHQRV TXH OH LQGLTXH OR FRQWUDULR &23,$1'2 029,(1'2 &$0%,$1'2 (/ 120%5( $ /26 $5&+,926 3DUD FRSLDU DUFKLYRV HQ OD PLVPD PDTXLQD XVH HO FRPDQGR FS /D VLQWD[LV PiV VHQFLOOD GH FS HV OD VLJXLHQWH FS DUFKLYRIXHQWH DUFKLYRGHVWLQR 6DTXHPRV XQD FRSLD GHO HWFSDVVZG \ GHMpPRVOD HQ QXHVWUR GLUHFWRULR KRJDU leon:~> cp /etc/passwd ~angel leon:~> 6XSRQJDPRV TXH DKRUD TXLHUR XQD FRSLD GH WRGR HO GLUHFWRULR HWF HQ PL GLUHFWRULR KRJDU leon:~> cp -r /etc ~angel cp: /etc/inet: cannot copy cyclic symbolic link cp: /etc/syslog.conf: Permission denied cp: /etc/rmt: Permission denied cp: /etc/psdevtab: Permission denied leon:~> ls etc/ passwd prueba/ leon:~> (O FRPDQGR cp -r KDFH XQD FRSLD UHFXUVLYD TXH FRSLD XQ GLUHFWRULR FRQ WRGRV VXEGLUHFWRULRV HQ RWUR GLUHFWRULR HQ HO HMHPSOR HV KRPHDQJHO 1R VH SUHRFXSH SRU ORV PHQVDMHV TXH GLFHQ SHUPLVR GHQHJDGR VLJQLILFDQ TXH XVWHG QR WLHQH SHUPLVR SDUD FRSLDU HVRV DUFKLYRV 6H GDUiQ PiV GHWDOOHV HQ OD SUiFWLFD 9DPRV D FDPELDUOH HO QRPEUH GH KRPHDQJHOSDVVZG D KRPHDQJHOSDVVZGRULJ leon:~> mv passwd passwd.orig leon:~> ls etc/ passwd.orig prueba/ leon:~> PY VLUYH SDUD FDPELDUOH HO QRPEUH XQ DUFKLYR DVt FRPR SDUD PRYHU XQR R PiV DUFKLYRV GH XQ GLUHFWRULR D RWUR 9DPRV D PRYHU WRGR HO GLUHFWRULR aDQJHOHWF GHQWUR GH aDQJHOSUXHED leon:~> mv etc/ prueba/ leon:~> cd prueba leon:~/prueba> ls etc/ leon:~/prueba> $KRUD TXH WHUPLQDPRV GH PRYHU ORV DUFKLYRV TXHUHPRV HOLPLQDUORV SDUD GHVRFXSDU HVSDFLR GHQWUR GH QXHVWUR GLVFR GXUR (OLPLQHPRV SULPHUR D aDQJHOSDVVZGRULJ FRQ UP leon:~/prueba> cd leon:~> ls foto/ passwd.orig leon:~> rm passwd.orig leon:~> ls foto/ prueba/ leon:~> prueba/ ¢5HFXHUGD TXH UPGLU VyOR SRGtD HOLPLQDU GLUHFWRULRV YDFLRV" &RQ UP UI GLUHFWRULR XVWHG SXHGH HOLPLQDU HO FRQWHQLGR GH XQ GLUHFWRULR LQFOX\HQGR HO GLUHFWRULR (OLPLQHPRV aDQJHOSUXHED leon:~> rm -rf prueba/ leon:~> ls 127$ 62%5( (/ %255$'2 '( $5&+,926 % R U U D U D U F K L Y R V H O L P L Q D G R V T X H H O E D M R D U F K L Y R H O L P L Q D U F R P D Q G R 6 H U P L Q W H U D F W L Y R G H V H D H V X Q D 8 1 , ; T X H Y D R S H U D F L y Q Q R D T X H S D U D H O L P L Q D U H O O R S X H G H Q H O L P L Q D U U H F R P L H Q G D V H U H V P L H Q W U D V H M H F X W H T X H P X \ H V W H D U F K L Y R F R Q O H O D O D G H O L F D G D / R V U H F X S H U D G R V U H D O P H Q W H D S U H Q G H R S F L y Q S U H J X Q W H V L Q W D [ L V V L D L H V W i H O D U F K L Y R V $ V H J ~ U H V H T X H Y D X W L O L ] D U D H O P R G R V H J X U R F R P S O H W D H V U P R Q R V L L U D U F K L Y R &5($1'2 $5&+,926 ([LVWHQ YDULDV IRUPDV GH FUHDU DUFKLYRV • • &RSLDQGR R PRYLHQGR DUFKLYRV XVWHG \D VDEH FRPR KDFHU HVR /D VDOLGD GH XQ SURJUDPD 3RU HMHPSOR HO FRPDQGR JFF SURGXFH SURJUDPDV HMHFXWDEOHV KHFKRV HQ & • 8VDQGR HO FRPDQGR WRXFK 7RXFK FUHD DUFKLYRV YDFLRV R DFWXDOL]D OD IHFKD GH ORV DUFKLYRV H[LVWHQWHV /D VLQWD[LV HV • WRXFK DUFKLYR 8VDQGR HO FRPDQGR FDW &XDQGR XVWHG TXLHUH FUHDU XQ DUFKLYR \ QR TXLHUH XVDU XQ HGLWRU SXHGH KDFHU OR VLJXLHQWH leon:~> cat > prueba &RPLHQFH D HVFULELU FXDOTXLHU WH[WR Esta es una prueba del uso de cat como un editor simple. Espero que sea util. $KRUD SUHVLRQH VLPXOWiQHDPHQWH ODV WHFODV FRQWURO ' A' SDUD ILQDOL]DU OD HGLFLyQ 9HDPRV VL HQ UHDOLGDG FUHDPRV XQ DUFKLYR leon:~> foto/ leon:~> Esta es simple. leon:~> ls prueba cat prueba una prueba del uso de cat como un editor Espero que sea util. 3(50,62/2*Ì$ < 3523,('$' '( $5&+,926 3(50,62/2*Ì$ '( /26 $5&+,926 /RV SHUPLVRV GHWHUPLQDQ TXp XVXDULRV SXHGH KDFHU R QR FRVDV FRQ XQ DUFKLYR R GLUHFWRULR /RV VLJXLHQWHV VRQ ORV SHUPLVRV DVRFLDGRV D ORV DUFKLYRV \ GLUHFWRULRV • /HFWXUD 8Q DUFKLYR GHEH WHQHU SHUPLVR GH OHFWXUD SDUD VHU H[DPLQDGR R FRSLDGR 8Q GLUHFWRULR GHEH WHQHU SHUPLVR GH OHFWXUD SDUD SRGHU OLVWDU VXV FRQWHQLGRV • (VFULWXUD 8Q DUFKLYR GHEH WHQHU SHUPLVR GH HVFULWXUD SDUD SRGHU VHU PRGLILFDGR HOLPLQDGR R UHQRPEUDGR 8Q GLUHFWRULR GHEH WHQHU SHUPLVR GH HVFULWXUD SDUD TXH SXHGDQ ERUUDUVH DUFKLYRV GHQWUR GH pO • (MHFXFLyQ 8Q DUFKLYR HMHFXWDEOH HV DTXHO TXH XQ XVXDULR SXHGH FRUUHU FRPR XQ SURJUDPD R XQ VKHOO VFULSW 6L HV XQ GLUHFWRULR VLJQLILFD TXH VH SXHGH HQWUDU GHQWUR GH pO FRQ FG ([DPLQHPRV HQ GHWDOOH HO VLJXLHQWH DUFKLYR ,OXVWUDFLyQ 7LSRV GH SHUPLVRV SUHVHQWHV HQ XQ DUFKLYR EDMR 81,; $TXL FDGD OHWUD VLJQLILFD OR VLJXLHQWH • • • • G GLUHFWRU\ (O DUFKLYR HV R QR XQ GLUHFWRULR U UHDG (O DUFKLYR SXHGH OHHUVH Z ZULWH (O DUFKLYR SXHGH PRGLILFDUVH HVFULELUVH [ H[HFXWDEOH (O DUFKLYR SXHGH HMHFXWDUVH 9HDPRV TXH VLJQLILFD FDGD XQR GH ORV UHQJORQHV GH OD SHUPLVRORJtD • 3HUPLVR GHO SURSLHWDULR (VWDV OHWUDV GLFHQ TXp SHUPLVRV WLHQH HO SURSLHWDULR FRQ UHVSHFWR D XQ DUFKLYR R GLUHFWRULR GH VX SURSLHGDG (VWR HV TXH SXHGH OHHUOR HVFULELUOR HMHFXWDUOR DUFKLYR R EXVFDU HQ pO GLUHFWRULR • 3HUPLVRV GH JUXSR 3HUPLWHQ FRPSDUWLU XQ DUFKLYR FRQ XQ JUXSR GH XVXDULRV (VWDV OHWUDV GLFHQ TXH SHUPLVRV WLHQHQ ORV DUFKLYRV SDUD ORV XVXDULRV TXH SHUWHQHFHQ DO PLVPR JUXSR GHO DUFKLYR • 3HUPLVRV SDUD RWURV XVXDULRV (VWDV OHWUDV GLFHQ TXp SHUPLVRV WLHQHQ RWURV XVXDULRV FRQ UHVSHFWR DO DUFKLYR R GLUHFWRULR ÓWLO SDUD UHVJXDUGDU OD SULYDFLGDG GHO DUFKLYR 127$ DFHUFD GH OD SHUPLVRORJtD GH ORV DUFKLYRV 1 X Q F D W R G R G H O H O H O G H M H X Q D U F K L Y R P X Q G R V L V W H P D D U F K L Y R ( V R S X H G H F R Q S H U P L V R O R J t D V L J Q L I L F D D O W H U D U H O T X H S D U D F X D O T X L H U F R Q W H Q L G R G H O V H U H V F U L W R S H U V R Q D D U F K L Y R S R U G H Q W U R R G H V W U X L U P L V P R leon:~> ls -l total 2 drwxr-xr-x 10 angel -rw-r--r-1 angel leon:~> users users 1024 Sep 27 17:22 foto/ 78 Sep 29 09:13 prueba 'H OD VDOLGD SRU SDQWDOOD YHPRV TXH IRWR HV XQ GLUHFWRULR TXH WLHQH SHUPLVR GH OHFWXUDHVFULWXUD \ HMHFXFLyQ SRU DQJHO OHFWXUD \ HMHFXFLyQ SDUD HO JUXSR XVHUV \ OHFWXUD \ HMHFXFLyQ SDUD RWURV 9HPRV WDPELpQ FRPR SUXHED HV XQ DUFKLYR TXH WLHQH SHUPLVR GH OHFWXUD \ HVFULWXUD \ VyOR OHFWXUD SDUD HO JUXSR \ RWURV &RQ OD KHUUDPLHQWD FKPRG SRGHPRV FDPELDU OD SHUPLVRORJtD GH XQ DUFKLYR /D VLQWD[LV HV OD VLJXLHQWH chmod [cadena(s) de acceso archivo(s)] 'RQGH OD FDGHQD GH DFFHVR SXHGH VHU FRQVWUXLGD GH HVWD PDQHUD ,OXVWUDFLyQ &DGHQD GH DFFHVR SDUD PRGLILFDU OD SHUPLVRORJtD GH XQ DUFKLYR ,OXVWUHPRV PHMRU HO XVR GH FKPRG FRQ XQRV HMHPSORV leon:~> ls -l total 2 drwxr-xr-x 10 angel -rw-r--r-1 angel leon:~> users users 1024 Sep 27 17:22 foto/ 78 Sep 29 09:13 prueba 9HPRV TXH HO DUFKLYR SUXHED WLHQH SHUPLVR GH OHFWXUD SDUD WRGR HO PXQGR 9DPRV D FRORFDUOH SHUPLVR GH OHFWXUD VyOR SDUD HO XVXDULR QLQJ~Q SHUPLVR SDUD JUXSR \ RWURV leon:~> chmod u=r,og=- prueba leon:~> ls -l total 2 drwxr-xr-x 10 angel users -r-------1 angel users leon:~> 1024 Sep 27 17:22 foto/ 78 Sep 29 09:13 prueba 6XSRQJDPRV TXH QRV DUUHSHQWLPRV \ GHFLGLPRV GDUOH SHUPLVR GH OHFWXUD \ HVFULWXUD DO JUXSR leon:~> chmod g+wr prueba leon:~> ls -l total 2 drwxr-xr-x 10 angel users -r--rw---1 angel users leon:~> 1024 Sep 27 17:22 foto/ 78 Sep 29 09:13 prueba )LQDOPHQWH TXHUHPRV TXLWDUOH HO SHUPLVR GH OHFWXUD \ HMHFXFLyQ D HO GLUHFWRULR IRWR \ D WRGRV ORV DUFKLYRV FRQWHQLGRV GHQWUR GH HO LQFOX\HQGR RWURV GLUHFWRULRV leon:~> chmod -R go-xr foto/ leon:~> ls -l total 2 drwx------ 10 angel users -r--rw---1 angel users leon:~> 1024 Sep 27 17:22 foto/ 78 Sep 29 09:13 prueba 7DPELpQ SRGHPRV HVSHFLILFDU ORV SHUPLVRV GH XQ DUFKLYR XWLOL]DQGR XQD IRUPD QXPpULFD (O VLJXLHQWH DUFKLYR WLHQH OD VLJXLHQWH FRQYHUVLyQ ,OXVWUDFLyQ (TXLYDOHQFLD HQ Q~PHURV ELQDULRV GH OD SHUPLVRORJtD GH XQ DUFKLYR (V GHFLU FDGD OHWUD FRUUHVSRQGLHQWH D XQD SDUWH GHO SHUPLVR UZ[ SXHGH HVWDU DFWLYDGD R QR HQ y SDUD IRUPDU XQ Q~PHUR ELQDULR HO FXDO HV FRQYHUWLGR OXHJR D Q~PHUR GHFLPDO 3RU HMHPSOR SDUD SRQHUOH SHUPLVR GH OHFWXUD SDUD HO XVXDULR OHFWXUD \ HVFULWXUD SDUD HO JUXSR \ QLQJ~Q SHUPLVR D RWURV GHEHPRV HVFULELU leon:~> chmod 460 prueba leon:~> ls -l total 2 drwx------ 10 angel users 1024 Sep 27 17:22 foto/ -r--rw---leon:~> 1 angel users 78 Sep 29 09:13 prueba (O FRQFHSWR GH SURSLHGDG GH XQ DUFKLYR EDMR 81,; HV PiV FRPSOHMR 8Q DUFKLYR SXHGH VHU SURSLHGDG GH XQ XVXDULR \ GH XQ JUXSR \ DPERV WLSRV GH SURSLHGDG VREUH HO DUFKLYR VRQ LQGHSHQGLHQWHV 8Q XVXDULR QRUPDO QR SXHGH FDPELDU OD SURSLHGDG GH XQ DUFKLYR EDMR 81,; VyOR URRW SXHGH KDFHUOR SHUR VL SXHGH FDPELDU HO JUXSR GH XQ DUFKLYR VL HO XVXDULR SHUWHQHFH DO JUXSR DO FXDO YD D FDPELDU HO DUFKLYR 7RGD HVWD FRPSOHMD HVWUXFWXUD SURSLHGDG GH DUFKLYRV \ SHUPLVRORJtD WLHQH VX PRWLYDFLyQ HQ SHUPLWLU TXH ODV SURWHFFLRQHV GH DUFKLYRV \ SHUPLVRV VHDQ RUJDQL]DGDV GH DFXHUGR D ODV QHFHVLGDGHV ORFDOHV 9HDPRV FyPR FDPELDU HO JUXSR D XQ DUFKLYR VXSRQLHQGR TXH HO DGPLQLVWUDGRU QRV KD LQFOXLGR HQ RWUR JUXSR DGLFLRQDO 9DPRV D FUHDU XQ DUFKLYR \ YHDPRV VX JUXSR HQ HVWH FDVR HV XVHUV leon:~> touch miarchivo leon:~> ls -l total 1 drwx------ 10 angel -rw-r--r-1 angel miarchivo users users 1024 Sep 27 17:22 foto/ 0 Sep 30 07:29 1RVRWURV VDEHPRV TXH SHUWHQHFHPRV D HO JUXSR SUXHED DGHPiV GHO JUXSR XVHUV SRU OR TXH FDPELDPRV QXHVWUR JUXSR DFWLYR XQ XVXDULR VROR SXHGH WHQHU XQ JUXSR DFWLYR D OD YH] leon:~> newgrp prueba 8QD YH] FDPELDGR HO JUXSR DFWLYR FDPELDPRV HO JUXSR GHO DUFKLYR \ YHPRV ORV UHVXOWDGRV > chgrp prueba miarchivo > exit leon:~> ls -l total 1 drwx------ 10 foto users -rw-r--r-1 foto prueba leon:~> 1024 Sep 27 17:22 foto/ 0 Sep 30 07:29 miarchivo &RPR HO FRPDQGR FKPRG FKJUS VRSRUWD OD RSFLyQ 5 UHFXUVLYD 3523,('$' '( /26 $5&+,926 /RV DUFKLYRV EDMR 81,; VRQ SURSLHGDG GH XQ XVXDULR FRP~QPHQWH GHO TXH OR FUHy \ GH XQ JUXSR GH XVXDULRV (O PDQHMR GH HVRV GRV XVXDULRV HV LQGHSHQGLHQWH OR TXH SHUPLWH FRQWURODU \ FRPSDUWLU UHFXUVRV GH PDQHUD HIHFWLYD 3DUD FDPELDU HO GXHxR GH XQ DUFKLYR VH XWLOL]D HO FRPDQGR FKRZQ HQ /LQX[ HVWH FRPDQGR VyOR SXHGH VHU HMHFXWDGR SRU HO URRW VLJXLHQGR OD WUDGLFLyQ GH OD IDPLOLD GH 81,; %6' /D VLQWD[LV HV OD VLJXLHQWH chown [propietario archivo (s)] 3RU HMHPSOR VL XVWHG IXHUD URRW HQ QXHVWUD PDTXLQD ILFWLFLD OHyQ SRGUtD KDFHU HVWR leon:/home/angel# ls -l total 1 drwx------ 10 angel users -rw-r--r-1 angel users leon:/home/foto# chown jose prueba leon:/home/foto# ls -l total 1 drwx------ 10 angel users -rw-r--r-1 jose users leon:/home/foto# 1024 Sep 27 17:22 foto/ 0 Oct 2 22:35 prueba 1024 Sep 27 17:22 foto/ 0 Oct 2 22:35 prueba 'H OD PLVPD PDQHUD SRGHPRV FDPELDU HO JUXSR FRQ FKJUS $ GLIHUHQFLD GH FKRZQ FKJUS Vt SXHGH VHU HMHFXWDGR SRU XQ XVXDULR QRUPDO SHUR SDUD TXH WHQJD HIHFWR HO XVXDULR GHEH SHUWHQHFHU DO JUXSR GHO DUFKLYR TXH LQWHQWD FDPELDU \ GHEH SRGHU FDPELDUVH GH JUXSR DFWLYR HV GHFLU HO XVXDULR GHEH SHUWHQHFHU D SRU OR PHQRV GRV JUXSRV 3DUD GHPRVWUDU HVWR VXSRQLHQGR TXH DQJHO SHUWHQHFH D ORV JUXSRV XVHUV \ SUXHED FUHHPRV XQ DUFKLYR OODPDGR SUXHED \ YHDPRV D TXp JUXSR SHUWHQHFH leon:~> touch archivo leon:~> ls -l total 1 -rw-r--r-1 angel drwx------ 10 angel users users 0 Oct 2 22:40 archivo 1024 Sep 27 17:22 foto/ &DPELDPRV DKRUD QXHVWUR JUXSR DFWLYR HV GHFLU FDPELDPRV GH XVHUV D SUXHED leon:~> newgrp prueba /XHJR OH FDPELDPRV HO JUXSR DO DUFKLYR > chgrp prueba archivo )LQDOPHQWH QRV VDOLPRV \ YHPRV ORV UHVXOWDGRV > exit exit leon:~> ls -lg total 1 -rw-r--r-1 angel drwx------ 10 angel leon:~> prueba users 0 Oct 2 22:40 archivo 1024 Sep 27 17:22 foto/ 127$ VREUH HO FDPELR GH JUXSRV \ XVXDULRV % D M R / L Q X [ F D P E L D U F R P D Q G R H O \ O D V J U X S R / D Y D U L D Q W H V \ H O V L Q W D [ L V G H X V X D U L R H V 8 1 , ; D O F K P R G E D M R P L V P R % 6 ' W L H P S R V H F R Q S U R S L H W D U L R J U X S R (1/$&(6 S X H G H X Q V R O R D U F K L Y R V 8Q HQODFH HV XQ PHFDQLVPR TXH SHUPLWH TXH YDULRV QRPEUHV DUFKLYRV VH UHILHUDQ D XQ VROR DUFKLYR HQ GLVFR HV GHFLU HV XQ QRPEUH DVRFLDGR D XQ DUFKLYR &XDQGR XVWHG FUHD XQ DUFKLYR HO VLVWHPD KDFH HO SULPHU HQODFH SRU XVWHG +D\ GRV WLSRV GH HQODFHV • • (QODFHV GXURV $VRFLDQ XQR R PiV QRPEUHV D XQD PLVPD ORFDOLGDG ItVLFD LQRGR (QODFHV VLPEyOLFRV (V XQ DUFKLYR TXH DSXQWD D RWUD UXWD HQ HO VLVWHPD GH DUFKLYRV /RV HQODFHV VLPEyOLFRV SXHGHQ DSXQWDU D RWURV GLVSRVLWLYRV ItVLFRV GHELGR D TXH DSXQWDQ DXQ QRPEUH GH DUFKLYR QR D XQD ORFDOLGDG ItVLFD GH GLVFR LQRGR 9HDPRV HVWR FRQ HO VLJXLHQWH HMHPSOR leon:~> cat > prueba.txt Esta es una prueba de lo que puede pasar al enlazar un archivo utilizando ln -s y ln -h (^D) leon:~> ls -s total 2 1 foto/ 1 prueba.txt leon:~> $KRUD YDPRV D KDFHU XQ HQODFH VLPEyOLFR \ XQ HQODFH GXUR KDFLD SUXHEDW[W 3ULPHUR KDJDPRV HO HQODFH GXUR leon:~> ln prueba.txt duro < OXHJR HO HQODFH VXDYH leon:~> ln -s prueba.txt suave 9HDPRV ORV UHVXOWDGRV leon:~> ls -l total 3 -rw-r--r-2 angel duro drwx------ 10 angel foto/ -rw-r--r-2 angel prueba.txt lrwxrwxrwx 1 angel suave -> prueba.txt leon:~> &RPR SXHGH YHU HQ HO HMHPSOR users users 89 Oct 3 11:38 1024 Sep 27 17:22 users 89 Oct 3 11:38 users 10 Oct 3 21:46 VXDYH HV XQ HQODFH VLPEyOLFR VX SHUPLVRORJtD FRPLHQ]D FRQ OD OHWUD O PLHQWUDV TXH HO HQODFH OODPDGR GXUR VH YH FRPR XQ DUFKLYR QRWH FRPR HO Q~PHUR GH HQODFHV HV LJXDO D 3RGHPRV KDFHU XQD SUXHED DGLFLRQDO SDUD YHU FyPR ORV HQODFHV GXURV FRPSDUWHQ ORV PLVPRV LQRGRV PLHQWUDV TXH ORV HQODFHV VXDYHV QR leon:~> ls -i 10718 duro 8524 foto/ prueba.txt 10719 suave@ leon:~> &RPR SXHGH YHU GXUR \ SUXHEDW[W FRPSDUWHQ HO LQRGR 10718 6L ERUUDPRV D SUXHEDW[W HO HQODFH OODPDGR GXUR WRGDYtD IXQFLRQDUi FRPSDUWHQ HO PLVPR LQRGR SHUR HO HQODFH OODPDGR VXDYH HVWDUi YDFLR SRUTXH HVWD DSXQWDQGR DO QRPEUH SUXHEDW[W QR D XQ LQRGR (',&,Ð1 '( $5&+,926 &21 (/ (',725 9, 9L HV HO HGLWRU GH WH[WR PiV GLIXQGLGR HQ HO DPELHQWH 81,; 9L VLJQLILFD 9LVXDO 'LVSOD\ (GLWRU HGLWRU YLVXDO GH SDQWDOOD 'HELGR D TXH YL QR HVWi EDVDGR HQ YHQWDQDV SXHGH VHU XWLOL]DGR HQ FXDOTXLHU WLSR GH WHUPLQDO 8VWHG SXHGH HGLWDU H LQWURGXFLU WH[WR FRQ YL SHUR pVWH QR HV XQ SURFHVDGRU GH SDODEUDV XVWHG OH GD IRUPDWR DO WH[WR FRQ YL XWLOL]DQGR FyGLJRV TXH HQWRQFHV VRQ LQWHUSUHWDGRV SRU RWUR SURJUDPD FRPR R QURII WURII 9L WLHQH PRGRV GH WUDEDMR • • • 0RGR GH FRPDQGRV 0RGR GH ~OWLPD OtQHD R PRGR GH GRV SXQWRV 0RGR GH HQWUDGD 9DPRV D HGLWDU XQ DUFKLYR TXH \D HVWD FUHDGR \ FRQ pVWR HMHUFLWDUHPRV XQ SRFR &RSLHPRV HO DUFKLYR TXH PXHVWUD HO PHQVDMH GHO GLD HWFPRWG D QXHVWUR GLUHFWRULR KRJDU leon:~> cp /etc/motd ~angel $KRUD YDPRV D DEULUOR FRQ YL leon:~> vi motd /R TXH YHUHPRV SRU SDQWDOOD VHUi DOJR SDUHFLGR D HVWR Linux 2.0.27. PRGR GH FRPDQGRV (Q HVWH PRPHQWR HVWDPRV HQ HO 9DPRV D DJUHJDU WH[WR GHEDMR GH OD SULPHUD OtQHD HVFULELHQGR R \ OXHJR HO WH[WR OD R QR VH YH SRU SDQWDOOD SRUTXH XVWHG KD SDVDGR 8VWHG SXHGH HVFULELU QRUPDOPHQWH SXOVDQGR HQWHU SDUD FRQWLQXDU D OD VLJXLHQWH OtQHD HQWUDGD DO PRGR GH 8QD YH] FRQFOXLGD OD HGLFLyQ SUHVLRQH HVFDSH (6& SDUD YROYHU DO PRGR GH FRPDQGRV Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar en /etc/motd. Un superusuario (root) podria ayudarme con eso. Kawuabunga!!!! $KRUD HV WLHPSR GH JXDUGDU QXHVWUR WUDEDMR (VFULED Z ZULWH Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar en /etc/motd. Un superusuario (root) podria ayudarme con eso. Kawuabunga!!!! ~ :w /XHJR SUHVLRQH HQWHU \ YHUi DOJR SDUHFLGR DO IRQGR GH OD SDQWDOOD Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar en /etc/motd. Un superusuario (root) podria ayudarme con eso. Kawuabunga!!!! ~ ~ ~ Wrote "motd" 6 lines, 211 characters (O PRGR DQWHULRU IXH XQ PRGR GH ~OWLPD OtQHD 8QD YH] JXDUGDGR QXHVWUR WUDEDMR LQLFLDO SRGUHPRV KDFHU PiV PRGLILFDFLRQHV 3DUD HOOR VHUi PX\ ~WLO VDEHU HO Q~PHUR GH OtQHD HQ HO TXH HVWDPRV WUDEDMDQGR SRU OR TXH GHEH HVFULELU VHW QXPEHU HO Q~PHUR GH OtQHD QR HV DJUHJDGR DO DUFKLYR VyOR VH YH SRU SDQWDOOD 3DUD TXLWDU HO Q~PHUR HVFULED VHW QR QXPEHU Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar en /etc/motd. Un superusuario (root) podria ayudarme con eso. Kawuabunga!!!! ~ :set number /XHJR SUHVLRQH HQWHU 1 2 3 en 4 5 6 Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar /etc/motd. Un superusuario (root) podria ayudarme con eso. Kawuabunga!!!! a Q~PHUR GH OtQHD 6XSRQJDPRV 3RGHPRV YLDMDU KDFLD FXDOTXLHU OtQHD GHO GRFXPHQWR FRQ VyOR HVFULELU TXH TXHUHPRV LQWURGXFLU WH[WR GHODQWH GH .DZXDEXQJD HQ OD OtQHD 1 2 3 en 4 5 6 ~ :6 Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar /etc/motd. Un superusuario (root) podria ayudarme con eso. Kawuabunga!!!! <ENTER> < OXHJR SUHVLRQH OD OHWUD L GH LQVHUW &XDQGR WHUPLQH GH HVFULELU SXOVH (6& 1 2 3 en 4 5 Linux 2.0.27. Bienvenidos a mi maquina. Este mensaje aparecera cada vez que un usuario entre a ella, una vez que lo vuelva a colocar /etc/motd. Un superusuario (root) podria ayudarme con eso. 6 Esto es Kawuabunga!!!! 127$ VREUH ORV FRPDQGRV GH YL / R V ( O F R P D Q G R V P L V P R G L V W L Q W R D L Q V H U W O R T X H H O H Q Y L F R P D Q G R V L H V H V F U L W R K D F H F R P D Q G R G L I H U H Q F L D Q H V F U L W R G H V S X p V , O R K D F H H Q H Q G H D O H Q W U H P D \ ~ V F X O D V P D \ ~ V F X O D V P L Q ~ V F X O D V G R Q G H H V W D S U L Q F L S L R W L H Q H 3 R U O D \ H O P L Q ~ V F X O D V F R P S R U W D P L H Q W R H M H P S O R X E L F D G R G H X Q H O F R P D Q G R F X U V R U O t Q H D 3DUD VDOLUVH GH YL HVFULED T 8VWHG SXHGH PRYHUVH SRU ODV OtQHDV GHO WH[WR XWLOL]DQGR ODV WHFODV GHO FXUVRU 6LQ HPEDUJR VL HVWD XWLOL]DQGR XQ WHUPLQDO UHPRWR ODV WHFODV SXGLHVHQ QR WUDEDMDU FRUUHFWDPHQWH GHSHQGLHQGR GH OD HPXODFLyQ GHO WHUPLQDO SRU OR TXH HV EXHQR TXH DSUHQGD ODV WHFODV VXEVWLWXWDV XVDGDV HQ YL ,OXVWUDFLyQ 7HFODV VXEVWLWXWDV GH PRYLPLHQWR SDUD 9L /D VLJXLHQWH WDEOD FRQWLHQH XQD VHULH GH FRPDQGRV ~WLOHV DVt FRPR VX H[SOLFDFLyQ 0RYHUVH XQD SDODEUD Z E Z ZRUG PXHYH HO FXUVRU D OD GHUHFKD GH XQD SDODEUD XQD SDODEUD D OD YH] E EDFN PXHYH HO FXUVRU D OD L]TXLHUGD XQD SDODEUD 0RYHUVH D ORV H[WUHPRV GH OD SDQWDOOD + +,*+ PXHYH HO FXUVRU DO WRSH GH OD + 0 / SDQWDOOD 0 0,''/(OR FRORFD HQ OD PLWDG / %RWWRP OR SRQH DO ILQDO GH OD SDQWDOOD 5HFRUUHU WH[WR &WUO ^I G E X` 3XHGH UHFRUUHU HO DUFKLYR SRU SDQWDOOD XQD SDQWDOOD D OD YH] PHGLD SDQWDOOD DGHODQWH R KDFLD DWUiV (V PXFKR PHMRU TXH WUDWDU GH UHFRUUHU XQ DUFKLYR ODUJR XWLOL]DQGR VyOR ODV WHFODV GH FXUVRU $JUHJDU WH[WR D $ ,QVHUWD WH[WR D OD GHUHFKD GHO FXUVRU LQVHUWD WH[WR DO ILQDO GH OD OtQHD 3UHVLRQH (6& L P L H Q W U D V ,QVHUWDU WH[WR L , FXDQGR WHUPLQH ,QVHUWD WH[WR D OD L]TXLHUGD GHO FXUVRU LQVHUWD WH[WR DO FRPLHQ]R GH OD OtQHD $EULU XQD OtQHD R 2 3UHVLRQH (6& FXDQGR WHUPLQH $EUH XQD OtQHD GHEDMR GH OD SRVLFLyQ DFWXDO DEUH XQD OtQHD DUULED GH OD SRVLFLyQ DFWXDO &DPELDU SDODEUD FZ 3UHVLRQH (6& FXDQGR WHUPLQH 3DUD UHHPSOD]DU XQD SDODEUD SRVLFLRQH HO FXUVRU DO SULQFLSLR GH OD SDODEUD \ HVFULED FZ VHJXLGD GH OD QXHYD SDODEUD 3UHVLRQH (6& &DPELDU OtQHD FF FXDQGR WHUPLQH 3DUD UHHPSOD]DU XQD OtQHD SRVLFLRQH HO FXUVRU HQ FXDOTXLHU SDUWH GH OD OtQHD (VWR OD KDUi GHVDSDUHFHU 3UHVLRQH (6& FXDQGR &DPELDU SDUWH GH OD OtQHD & WHUPLQH 3HUPLWH UHHPSOD]DU SDUWH GH OD OtQHD TXH HVWi D OD GHUHFKD GHO FXUVRU 3UHVLRQH (6& 6XEVWLWXLU FDUDFWHUHV V FXDQGR WHUPLQH 3DUD VXVWLWXLU XQR R PiV FDUDFWHUHV HQ GRQGH HVWi XELFDGR HO FXUVRU HVFULED V 5HHPSOD]DU FDUDFWHUHV U VHJXLGR GHO QXHYR WH[WR (VWH FRPDQGR SHUPLWH UHHPSOD]DU XQ VROR FDUiFWHU EDMR HO FXUVRU SRU RWUR FDUiFWHU &RORTXH HO FXUVRU VREUH HO FDUiFWHU TXH 'HVKDFHU FRPDQGRV X 8 5RPSHU R XQLU OtQHDV UHQWHU - GHVHD UHHPSOD]DU \ HVFULED U &RQ X GHVKDFH HO ~OWLPR FDPELR KHFKR FRQ 8 GHVKDFH WRGRV ORV FDPELRV KHFKRV 3DUD URPSHU XQD OtQHD YD\D DO SXQWR GH TXLHEUH \ HVFULED U HQWHU 3DUD XQLU XQD OtQHD FRQ OD OtQHD TXH HVWi GHEDMR HVFULED - %RUUDU XQ FDUiFWHU XQD SDODEUD XQD OtQHD \ SDUWH GH XQD OtQHD [ GZ GG ' HQ HO SXQWR GH XQLyQ 3DUD ERUUDU XQ FDUiFWHU SRVLFLRQH HO FXUVRU VREUH HO FDUiFWHU TXH YD D VHU ERUUDGR \ HVFULED [ 3DUD ERUUDU XQD SDODEUD SRVLFLRQH HO FXUVRU DO SULQFLSLR GH OD SDODEUD \ HVFULED GZ VH ERUUDUi OD SDUWH GHUHFKD GH OD SDODEUD 3DUD ERUUDU XQD OtQHD FRORTXH HO FXUVRU HQ FXDOTXLHU SDUWH GH OD OLQHD \ HVFULED GG )LQDOPHQWH SDUD ERUUDU SDUWH GH XQD OtQHD FRORTXH HO FXUVRU D OD L]TXLHUGD GH OD SDUWH GH OD OtQHD TXH GHVHD HOLPLQDU \ )DFWRUHV GH UHSHWLFLyQ HVFULED OD OHWUD ' 0XFKRV FRPDQGRV HQ YL SXHGHQ VHU SUHFHGLGRV SRU XQ IDFWRU GH UHSHWLFLyQ HO FXDO HV XQ Q~PHUR TXH OH GLFH D YL FXDQWDV YHFHV GHEH UHSHWLU XQ FRPDQGR GDGR 3RU HMHPSOR HO FRPDQGR GG ERUUDUi OtQHDV PLHQWUDV TXH HO FRPDQGR [ ERUUDUi 5HSHWLU HO FRPDQGR DQWHULRU &RSLDQGR PRYLHQGR OtQHDV \\ GG FDUDFWHUHV (VFULELHQGR SXQWR UHSLWH HO FRPDQGR GH FDPELR GH WH[WR DQWHULRU 3DUD FRSLDU PRYHU XQD OtQHD GH WH[WR FRORTXH HO FXUVRU HQ FXDOTXLHU SDUWH GH OD OtQHD D FRSLDU PRYHU \ HVFULED \\ GG /XHJR FRORTXH HO FXUVRU HQ HO VLWLR HQ GRQGH TXLHUH SHJDU OD OtQHD \ HVFULED S SHJDU &RSLDU PRYHU ERUUDU OtQHDV FRQ FRPDQGRV GH ~OWLPD OtQHD DEDMR R 3 SHJDU DUULED SDUD FRORFDUOD 3DUD FRSLDU XQD OtQHD HVFULED OLQHDLQLFLR OLQHDILQDO FR OLQHD /RV SULPHURV GRV Q~PHURV VRQ HO UDQJR GHVGH GRQGH VH YD D KDFHU OD FRSLD HO WHUFHU Q~PHUR HV GHVGH GRQGH YDQ D VHU SHJDGDV ODV QXHYDV OtQHDV 3RU HMHPSOR VL TXHUHPRV FRSLDU GHVGH OD OtQHD KDVWD OD OtQHD HQ OD OtQHD HVFULELUtDPRV FR /D VLQWD[LV SDUD PRYHU OtQHDV HV OLQHDLQLFLROLQHDILQDO P OLQHD < ILQDOPHQWH OD VLQWD[LV SDUD HOLPLQDU XQ JUXSR GH OtQHDV HV OLQHDLQLFLR OLQHDILQDO 7DEOD &RPDQGRV XVXDOHV GHO HGLWRU 9L %86&$1'2 &$5$&7(5(6 8QD GH ODV FDUDFWHUtVWLFDV PiV QRWDEOHV GH YL HV VX KDELOLGDG SDUD HQFRQWUDU \ UHHPSOD]DU FDGHQDV GH FDUDFWHUHV FRQ LQFUHtEOH IDFLOLGDG 3DUD HQFRQWUDU XQD FDGHQD GH FDUDFWHUHV HVFULED VHJXLGR GH OD FDGHQD GH FDUDFWHUHV D EXVFDU \ SXOVH HQWHU 8VWHG SXHGH HVFULELU Q QH[W SDUD LU D OD SUy[LPD RFXUUHQFLD GHO FDUiFWHU 1 SDUD LU D OD DQWHULRU 6L OR TXH GHVHD HV EXVFDU GHVGH HO ILQDO KDVWD HO SULQFLSLR HQWRQFHV HVFULED " HQ YH] GH 3RU HMHPSOR SDUD EXVFDU OD FDGHQD VXSHU HQ QXHVWUR DUFKLYR GH HMHPSOR OD FXDO OOHYDUi HO FXUVRU D OD OtQHD HVFULED /super <ENTER> ¢&Ð02 %86&$ &$5$&7(5(6 (/ 868$5,2 $9$1=$'2" 8VWHG SXHGH KDFHU TXH VXV E~VTXHGDV HQ YL VHDQ PiV SUHFLVDV LQGLFDQGR SRU HMHPSOR VL TXLHUH EXVFDU DO SULQFLSLR R DO ILQDO GH OD OtQHD 9HDPRV DOJXQDV E~VTXHGDV UHILQDGDV 3DUD HQFRQWUDU XQD FDGHQD GH FDUDFWHUHV DO FRPLHQ]R GH XQD OtQHD GHEH HVFULELU OR VLJXLHQWH /^cadena (Q FDPELR SDUD HQFRQWUDU OD FDGHQD DO ILQDO GH OD OtQHD /cadena$ 3DUD HQFRQWUDU HO FRPLHQ]R GH XQD SDODEUD HVFULED ? DO FRPLHQ]R GH OD FDGHQD SDUD HQFRQWUDU HO ILQDO GH XQD SDODEUD HVFULED ?! DO ILQDO GH OD SDODEUD (V GHFLU SDUD HQFRQWUDU XQD SDODEUD GHEH HVFULELU /\<cadena\> 3DUD HQFRQWUDU FXDOTXLHU FDUiFWHU GHVFRQRFLGR R YDULDEOH GHQWUR GH XQD FDGHQD GH FDUDFWHUHV HVFULED XQ SXQWR HQ OD FDGHQD 3RU HMHPSOR HO VLJXLHQWH FRPDQGR EXVFD FXDOTXLHU FRVD TXH WHQJD OD FDGHQD DTXLQD /.aquina 8VWHG SXHGH XWLOL]DU UDQJRV GH FDUDFWHUHV \ FDUDFWHUHV HVSHFLDOHV SDUD KDFHU E~VTXHGDV 3RU HMHPSOR SDUD EXVFDU FXDOTXLHU FDGHQD TXH FRPLHQFH GHVGH OD D KDVWD OD ] TXH WHUPLQH FRQ OD FDGHQD OOD \ TXH HQFXHQWUH WRGDV ODV RFXUUHQFLDV GH OOD XVDPRV /[a-z]*lla (VWR HQFXHQWUD OD FDGHQD HOOD HQ OD OtQHD GH QXHVWUR HMHPSOR 5((03/$=$1'2 &$5$&7(5(6 (O FRPDQGR EiVLFR SDUD UHHPSOD]DU FDUDFWHUHV HV HO VLJXLHQWH :g/cadena-de-busqueda/s//cadena a reemplazar/g 6XSRQJDPRV TXH TXHUHPRV FDPELDU OD SDODEUD .DZXDEXQJD SRU FDUDPED HQ OD OtQHD GH QXHVWUR WH[WR GH HMHPSOR 3DUD KDFHUOR HVFULELUtDPRV :g/Kawuabunga/s//caramba/g ¢ & Ð 0 2 6 ( 5 8 1 8 6 8$ 5 , 2 $9$ 1 = $ ' 2 " (-(&8&,Ð1 '( 352&(626 (1 6(*81'2 3/$12 1RUPDOPHQWH OD FRQFKD VKHOO HVSHUD TXH XQ FRPDQGR VH FRPSOHWH DQWHV GH SHGLUOH RWUR FRPDQGR 6L XVWHG SLHQVD TXH XQ FRPDQGR SXHGH WDUGDU PXFKR WLHPSR HQ HMHFXWDUVH SXHGH LQYRFDUOR DJUHJiQGROH XQ DO ILQDO SDUD TXH HVWH FRUUD HQ VHJXQGR SODQR \ XVWHG SXHGD VHJXLU LQWURGXFLHQGR FRPDQGRV HQ OD FRQFKD 3RU HMHPSOR VXSRQJDPRV TXH TXHUHPRV RUGHQDU DOIDEpWLFDPHQWH XQ DUFKLYR OODPDGR \ VDEHPRV TXH HVWD RSHUDFLyQ SXHGH WDUGDU PXFKR WLHPSR PX\JUDQGH sort muy-grande > ordenado & 8VWHG SXHGH FRUUHU YDULRV FRPDQGRV HQ VHJXQGR SODQR VLQ HPEDUJR VHD FRQVLGHUDGR \ QR FRORTXH PXFKRV SURFHVRV HQ XQ VLVWHPD PXOWLXVXDULR 5HFXHUGH TXH KD\ RWURV TXH TXLHUHQ DSURYHFKDU WDPELpQ ORV UHFXUVRV GHO VLVWHPD sort muy-grande1 > ordenado1 & sort muy-grande2 > ordenado2 & sort muy-grande3 > ordenado3 & (67$'2 '(/ 352&(62 '( 81 868$5,2 8QL[ SHUPLWH D XQ XVXDULR HMHFXWDU PiV GH XQ SURFHVR D OD YH] &DGD XQR GH HVRV SURFHVRV WLHQH XQ LGHQWLILFDGRU OODPDGR Q~PHUR GHO SURFHVR 3DUD YHU LQIRUPDFLyQ DFHUFD GH ORV SURFHVRV XWLOL]DPRV HO FRPDQGR SV leon:~> ps PID TTY STAT 6366 p0 S 6828 p0 R TIME COMMAND 0:01 -tcsh 0:01 ps leon:~> (O FRPDQGR SV PH HVWi GLFLHQGR TXH HO FRPDQGR WFVK OD FRQFKD WLHQH HO LGHQWLILFDGRU GH SURFHVR 6 HVWi FRUULHQGR HQ HO WHUPLQDO S HVWi GHWHQLGR OHHSLQJ \ OOHYD XQ PLQXWR HMHFXWiQGRVH (O FRPDQGR SV WLHQH PXFKDV RSFLRQHV 8QD GH ODV PiV FRPXQHV HV DYHULJXDU WRGRV ORV SURFHVRV TXH VH HVWiQ HMHFXWDQGR HQ OD PDTXLQD FRQ LQIRUPDFLyQ GHO XVXDULR TXH ORV FRUUH HVWR LQFOX\H D WRGRV ORV XVXDULRV leon:~> ps -aux USER PID %CPU %MEM COMMAND angel 6366 0.0 9.8 angel 6954 0.0 5.1 aux angel 6955 0.0 3.8 bin 52 0.0 4.3 /usr/sbin/rpc.portmap root 1 0.0 4.3 [3] root 2 0.0 0.0 (kflushd) root 3 0.0 0.0 (kswapd) root 4 0.0 0.0 (nfsiod) root 5 0.0 0.0 (nfsiod) root 6 0.0 0.0 SIZE RSS TTY STAT START TIME 1132 824 692 364 p0 S p0 R 07:29 14:36 0:01 -tcsh 0:01 ps - 792 796 268 304 p0 S ? S 14:36 Sep 30 0:00 more 0:15 780 304 ? S Sep 30 0:07 init 0 0 ? SW Sep 30 0:00 0 0 ? SW< Sep 30 0:00 0 0 ? SW Sep 30 0:00 0 0 ? SW Sep 30 0:00 0 0 ? SW Sep 30 3RGHPRV YHU TXH VH HVWiQ HMHFXWDQGR SURFHVRV GHO XVXDULR DQJHO \ GHO XVXDULR URRW 7(50,1$&,Ð1 '( 352&(626 (1 5(6(59$ 3DUD PDWDU GHWHQHU SURFHVRV HQ UHVHUYD XWLOL]DPRV OD RUGHQ kill # proceso 9HDPRV VX XVR FRQ HO VLJXLHQWH HMHPSOR leon:~> ftp localhost & [1] 6957 leon:~> Connected to localhost. 220 leon FTP server (Version wu-2.4(1) Tue Dec 5 20:51:15 CST 1995) ready. Name (localhost:angel): [1] + Suspended (tty input) ftp localhost &RUUHPRV HO SURJUDPD IWS HQ VHJXQGR SODQR 9HDPRV DKRUD FXDO VX Q~PHUR GH SURFHVR leon:~> ps -x PID TTY STAT 6366 p0 S 6957 p0 T 6960 p0 R TIME 0:02 0:00 0:01 COMMAND -tcsh ftp localhost ps -x $YHULJXDPRV TXH HV HO SURFHVR 9DPRV D WHUPLQDUOR leon:~> kill 6957 [1] Terminated ftp localhost 9HDPRV VL WRGDYtD HVWD HMHFXWiQGRVH leon:~> ps -x PID TTY STAT 6366 p0 S 6961 p0 R TIME COMMAND 0:02 -tcsh 0:01 ps -x (OLPLQDU XQ SURFHVR SXHGH VHU ~WLO FXDQGR TXHUHPRV WHUPLQDU XQD WDUHD TXH QR GHELPRV KDEHU LQLFLDGR R FXDQGR TXHUHPRV HOLPLQDU XQD WDUHD TXH QR HVWi IXQFLRQDQGR FRUUHFWDPHQWH 127$ 3$5$ '(7(1(5 81 352&(62 (1 35,0(5 3/$12 %$67$ 6Ð/2 &21 (6&5,%,5 &75/ & A& (1 (/ 7(50,1$/ '(6'( '21'( )8( ,192&$'2 (-(&8&,Ð1 '( 81 352&(62 (1 81 ,167$17( (63(&Ì),&2 3DUD HMHFXWDU XQ SURJUDPD R VFULSW HQ XQD IHFKD \ KRUD HVSHFLILFRV SXHGH XWLOL]DU HO SURJUDPD DW FRQ OD VLJXLHQWH VLQWD[LV at [hora] [dia] [archivo de comandos] $UFKLYR FRQWLHQH XQD VHULH GH LQVWUXFFLRQHV TXH XVWHG GHVHD HMHFXWDU 6XSRQJDPRV TXH XVWHG GHVHD HVFULELU XQ PHQVDMH SRU SDQWDOOD \ OR DOPDFHQR HQ XQ DUFKLYR HGLWDGR FRQ YL SRU HMHPSOR leon:~> vi mensaje echo "Este es un mensaje sin utilidad por pantalla" $KRUD KDJDPRV XQD SUXHED SDUD YHU FRPR IXQFLRQD HO FRPDQGR leon:~> date Sun Oct 5 20:22:54 GMT-4 1997 leon:~> at 2024 -f mensaje Job 1 will be executed using /bin/sh &RQ DWT SRGHPRV YHU HO WUDEDMR GHQWUR GH OD FROD GH HMHFXFLyQ \ OR SRGHPRV UHPRYHU FRQ DWUP leon:~> atq Date 20:35:00 10/05/97 Owner angel Queue c Job# 4 3DVDGR XQ UDWR QRV OOHJD XQ FRUUHR PRVWUDQGR OD VDOLGD SRU SDQWDOOD GHO FRPDQGR New mail for angel@leon has arrived: ---From: Angel Negro <angel@leon.felinos.ve> Subject: Output from your job c0000400decbc3 Este es un mensaje sin utilidad por pantalla ---6XSRQJDPRV TXH DKRUD TXHUHPRV HOLPLQDU XQ WUDEDMR GH OD FROD 3ULPHUR DYHULJXDPRV OD IHFKD \ KRUD DW VXSRQH TXH HO GtD HV DFWXDO VL OD KRUD QR KD WUDQVFXUULGR VXSRQH TXH HV GHO GtD VLJXLHQWH \ OXHJR LQWURGXFLPRV HO FRPDQGR FRQ DW leon:~> date Sun Oct 5 20:37:13 GMT-4 1997 leon:~> at 21:00 -f mensaje Job 2 will be executed using /bin/sh leon:~> atq Date Owner Queue 21:00:00 10/05/97 angel c Job# 5 /XHJR YHPRV OD FROD DYHULJXDPRV VX Q~PHUR \ OR HOLPLQDPRV FRQ DWUP leon:~> atrm 5 leon:~> atq leon:~> &RPR SXHGH YHU HO FRPDQGR DWT QR PXHVWUD QDGD HQ OD FROD (O FRPDQGR DW SXHGH VHU LQYRFDGR GH YDULDV PDQHUDV DW DP +R\ D ODV GH OD PDxDQD DW +R\ D ODV 30 DW 1 IUL ZHHN 0HGLRGtD XQD VHPDQD GHVSXpV GHO SUy[LPR YLHUQHV DW 30 DSU (O SUy[LPR GH DEULO D ODV 30 127$ 62%5( (/ &20$1'2 $7 2 W U D G H O I R U P D F U R Q W D E H V F U L E D P D Q G H 3 D U D H M H F X W D U W D U H D V D Y H U L J X D U P i V D X W R P i W L F D V D F H U F D G H H V H V W D S R U P H G L R K H U U D P L H Q W D F U R Q W D E &RPELQDFLyQ GH P~OWLSOHV FRPDQGRV 8VWHG SXHGH FRQHFWDU FRPDQGRV MXQWRV FRQ HO FDUiFWHU _ EDUUD YHUWLFDO R SLSH SDUD KDFHU TXH OD VDOLGD GH XQ SULPHU FRPDQGR VH FRQYLHUWD HQ OD HQWUDGD GHO VHJXQGR leon:~> ps -aux angel 8033 angel 8039 aux angel 8040 angel leon:~> | grep angel 3.5 9.4 1124 0.0 5.1 824 664 364 p0 S p0 R 05:58 05:58 0:01 -tcsh 0:01 ps - 0.0 304 p0 S 05:58 0:00 grep 4.3 868 &RQ HVWH FRPDQGR HVWDPRV SLGLHQGR XQ OLVWDGR GH WRGRV ORV SURFHVRV \ HVWDPRV ILOWUDQGR FRQ D\XGD GH OD XWLOLGDG JUHS D WRGRV DTXHOORV TXH WHQJDQ OD FDGHQD GH FDUDFWHUHV DQJHO /RV FRPDQGRV LQWHUFRQHFWDGRV FRQ SLSH VH OODPDQ WXEHUtDV (O WDPDxR GH OD WXEHUtD SXHGH VHU WDQ ODUJR FRPR VH TXLHUD leon:~> ps -aux | grep angel | grep -v "grep"|grep -v "ps" angel 8033 0.4 9.5 1124 672 p0 S 05:58 0:01 -tcsh leon:~> (Q HO HMHPSOR DQWHULRU XWLOL]DPRV XQ VHJXQGR JUHS SDUD VXSULPLU OD VDOLGD GH JUHS FRPR XQ SURFHVR HQ QXHVWUR OLVWDGR \ XQ WHUFHU JUHS HQ OD WXEHUtD SDUD VXSULPLU OD VDOLGD GH SV 2WUD IRUPD GH FRPELQDU FRPDQGRV VHFXHQFLDOHV HV KDFHUOR XWLOL]DQGR SDUpQWHVLV FRQ R VLQ SXQWRV \ FRPDV /D IRUPD FyPR VH DJUXSDQ ORV FRPDQGRV HV PX\ LPSRUWDQWH leon:~> date ; ls /etc| wc -l Mon Oct 6 06:10:34 GMT-4 1997 82 leon:~> (O FRPDQGR DQWHULRU PH PXHVWUD OD IHFKD SRU SDQWDOOD \ OXHJR PH FXHQWD FXDQWRV DUFKLYRV H[LVWHQ HQ HO GLUHFWRULR HWF PLHQWUDV TXH leon:~> (date ; ls /etc) | wc -l 83 leon:~> 0H FXHQWD D OD IHFKD SURGXFLGD SRU GDWH FRPR XQD OtQHD PiV DSDUWH GHO OLVWDGR SURGXFLGR SRU OV ¢ SURGXFLUiQ ODV VLJXLHQWHV OtQHDV UHVXOWDGRV GLVWLQWRV" leon:~> ( echo "En el directorio raiz hay" ; ls / | wc -l ; echo "archivos y ocupan el siguiente espacio:" ; df ) leon:~> echo "En el directorio raiz hay" ; (ls / | wc -l) ; echo "archivos y ocupan el siguiente espacio:" ; df (175$'$ < 6$/,'$ '( &20$1'26 3RU RPLVLyQ PXFKRV FRPDQGRV TXH SURGXFHQ VDOLGD OD HVFULEHQ DO WHUPLQDO 6L XVWHG XWLOL]D HO FDUiFWHU ! OD FRQFKD OH SHUPLWH HQYLDU OD VDOLGD D XQ DUFKLYR leon:~> ls /etc|wc -l >~/listado-archivos-etc leon:~> cat ~/listado-archivos-etc 82 leon:~> &RPR SRGHPRV YHU HO FRQWHQLGR GH HVH OLVWDGR IXH HQYLDGR D XQ DUFKLYR OODPDGR OLVWDGRDUFKLYRV HWF HQ YH] GH VHU PRVWUDGR SRU SDQWDOOD (O FDUiFWHU ! VREUHHVFULEH FXDOTXLHU DUFKLYR TXH KD\D VLGR FUHDGR SUHYLDPHQWH PLHQWUDV TXH HO FDUiFWHU !! DJUHJD DO ILQDO GHO DUFKLYR leon:~> cat /etc/passwd|wc -l > ~/listado-archivos-etc leon:~> cat ~/listado-archivos-etc 20 &RPR SXHGH YHU HO FRQWHQLGR GHO DUFKLYR IXH VREUHHVFULWR DKRUD QR HV VLQR 9DPRV D DJUHJDU XQ FRPHQWDULR DO ILQDO GHO DUFKLYR leon:~> echo "Hay 20 lineas en mi archivo ahora" >> ~/listadoarchivos-etc leon:~> cat ~/listado-archivos-etc 20 Hay 20 lineas en mi archivo ahora leon:~> $Vt FRPR SRGHPRV FUHDU XQ DUFKLYR FRQ OD UHGLUHFFLyQ SRGHPRV OHHU WDPELpQ GHVGH XQ DUFKLYR FRQ HO FDUiFWHU 6XSRQJDPRV TXH TXHUHPRV YHU FXDQWDV OtQHDV WLHQH HO DUFKLYR TXH DFDEDPRV GH FUHDU leon:~> wc -l <~/listado-archivos-etc 2 leon:~> )LQDOPHQWH SRGHPRV XWLOL]DU OD UHGLUHFFLyQ HQ DPERV VHQWLGRV VLQ QLQJ~Q SUREOHPD 9DPRV D FRQYHUWLU GH PLQXVFXODV D PD\XVFXODV HO WH[WR GHO DUFKLYR TXH DFDEDPRV GH FUHDU leon:~> cat ~/listado-archivos-etc 20 Hay 20 lineas en mi archivo ahora leon:~> tr a-z A-z < ~/listado-archivos-etc >mayusculas leon:~> cat mayusculas 20 HAY 20 LINEAS EN MI ARCHIVO AHORA leon:~> &203/(7$&,Ð1 '( &20$1'26 &XDQGR XVWHG HVFULEH OD SULPHUD SDUWH GH XQ QRPEUH OD FRQFKD D YHFHV SXHGH VDEHU HO UHVWR GHO QRPEUH GH PDQHUD TXH XVWHG QR WHQJD TXH HVFULELUOR (VWD FDUDFWHUtVWLFD VH OODPD FRPSOHWDFLyQ GH FRPDQGRV 3DUD XWLOL]DUOD XVWHG HVFULEH OD SULPHUD SDUWH GHO QRPEUH GH XQ DUFKLYR SUHVLRQD XQD WHFOD HVSHFLDO \ OD FRQFKD KDFH HO UHVWR 3DUD DFWLYDU OD FRPSOHWDFLyQ GH FRPDQGRV HQ WFVK SDUD DYHULJXDU VL HVD HV VX FRQFKD HVFULED HFKR 6+(// HVFULED HO SUHILMR GHO QRPEUH \ SUHVLRQH OD WHFOD 7$% WDEXODFLyQ (Q HO HMHPSOR DQWHULRU FRQVWUXLPRV XQ DUFKLYR OODPDGR aPD\XVFXODV 6XSRQJDPRV TXH TXHUHPRV YHU VX FRQWHQLGR RWUD YH] leon:~> cat may <TAB> leon:~> cat mayusculas <ENTER> 20 HAY 20 LINEAS EN MI ARCHIVO AHORA leon:~> (Q FVK OD FRPSOHWDFLyQ GH FRPDQGRV VH XVD GH PDQHUD XQ SRFR GLIHUHQWH 8VWHG SUHVLRQD (6& HQ YH] GH 7$% \ DGHPiV GHEH FRORFDU HO VLJXLHQWH FRPDQGR HQ VX DUFKLYR GH FRQILJXUDFLyQ aFVKUF set filec 6L XQ SUHILMR HV DPELJXR VH HQFXHQWUD PiV GH XQ QRPEUH GH DUFKLYR OD FRQFKD HPLWLUi XQ VRQLGR &XDQGR HVWR RFXUUD XVWHG SXHGH YHU XQ OLVWDGR GH ODV SRVLELOLGDGHV TXH HQFRQWUy OD FRQFKD FRQ &WUO' )LQDOPHQWH XVWHG SXHGH D\XGDU D OD FRQFKD H[FOX\HQGR FLHUWRV VXILMRV GH OD FRPSOHWDFLyQ GH FRPDQGRV DJUHJDQGR OD VLJXLHQWH OtQHD D VX aFVKUF Set fignore = (.o *.bak) 127$ (/ $5&+,92 &6+5& (6 87,/,=$'2 7$172 325 7&6+ &202 325 &6+ 7&6+ (6 &203$7,%/( &21 /$ 6,17$;,6 '( &6+ 3(52 12 $/ 5(9(6 862 '( 3$7521(6 /RV SDWURQHV GH DUFKLYRV XVDQGR " R >@ VRQ ~WLOHV SDUD HVSHFLILFDU JUXSRV GH DUFKLYRV UHODFLRQDGRV SHUR VyOR VL HVWRV \D H[LVWHQ 6L XVWHG HVWi WUDWDQGR GH HVSHFLILFDU QRPEUHV SDUD QXHYRV DUFKLYRV H[LVWH XQD WpFQLFD TXH OR SXHGH D\XGDU 6XSRQJD TXH XVWHG TXLHUH FUHDU ORV GLUHFWRULRV DQJHO DQJHO DQJHO \ DQJHO SDUD JXDUGDU DOOt IRWRV GH VXV iQJHOHV IDYRULWRV 8Q SDWURQ FRPR HO VLJXLHQWH IDOODUtD SRUTXH ORV GLUHFWRULRV QR H[LVWHQ leon:~> mkdir angel[1-4] mkdir: No match. leon:~> 3HUR HQ FDPELR VL XVWHG XWLOL]D ^` SDUD FUHDU ORV GLUHFWRULRV ORV UHVXOWDGRV VHUiQ GLIHUHQWHV leon:~> mkdir angel{1,2,3,4} leon:~> ls angel1/ angel4/ angel2/ listado-archivos-etc angel3/ mayusculas leon:~> mensaje 5(87,/,=$&,Ð1 5(3(7,&,Ð1 < 6867,78&,Ð1 '( &20$1'26 /D FRQFKD WLHQH XQ PHFDQLVPR SDUD PDQWHQHU XQD KLVWRULD GH ORV FRPDQGRV (VR VLJQLILFD TXH UHFXHUGD ORV FRPDQGRV TXH XVWHG HMHFXWD \ SHUPLWH TXH ORV YXHOYD D FRUUHU FRQ XQRV SRFRV JROSHV GH WHFOD 6XSRQJDPRV TXH XVWHG HVWD HMHFXWDQGR ORV VLJXLHQWHV FRPDQGRV TXH WLHQHQ PXFKR HQ FRP~Q leon:~> leon:~> leon:~> leon:~> leon:~> leon:~> leon:~> leon:~> leon:~> ls rmdir angel* ls mkdir angel{1,2,3,4} ls ls cat listado-archivos-etc cat mayusculas cat mensaje 3RGHPRV YHU VL HVWiQ HQ QXHVWUD KLVWRULD GH FRPDQGRV FRQ OD VHQWHQFLD KLVWRU\ VH PXHVWUD VyOR XQD VDOLGD DEUHYLDGD leon:~> history 32 6:58 cat mayusculas 33 7:11 mkdir angel[1-4] 34 7:12 mkdir angel{1-4} 35 7:12 ls 36 7:13 mkdir angel{1,2,3,4} 37 7:13 ls 38 7:13 rmdir angel* 39 7:13 ls 40 7:13 mkdir angel{1,2,3,4} 41 7:13 ls 42 7:55 ls 43 7:55 cat listado-archivos-etc 44 7:55 cat mayusculas 45 7:55 cat mensaje 46 7:58 history 9HPRV TXH DSDUHFHQ WRGRV ORV FRPDQGRV TXH KHPRV HVFULWR HQ QXHVWUD VHVLyQ SRGHPRV OLPLWDU HO WDPDxR GH OD KLVWRULD FRORFDQGR OD OtQHD set history=20 HQ HO aFVKUF -XJXHPRV XQ SRFR FRQ QXHVWUD KLVWRULD GH FRPDQGRV leon:~> rmdir angel* (O VLJXLHQWH FRPDQGR EXVFD D FXDOTXLHU FRPDQGR TXH FRQWHQJD HO FDUiFWHU HQ OD KLVWRULD \ OR HMHFXWD GH QXHYR leon:~> !?3 mkdir angel{1,2,3,4} 5HSHWLPRV HO FRPDQGR PiV UHFLHQWH TXH FRPLHQFH SRU U leon:~> !r rmdir angel* 3XGLPRV KDEHUOR KHFKR LQYRFDQGR GH QXHYR DO ~OWLPR FRPDQGR HVFULWR leon:~> !! rmdir angel * 2 ELHQ SXGLPRV KDEHUOR EXVFDGR GH OD KLVWRULD GH FRPDQGRV GLUHFWDPHQWH leon:~> !38 rmdir angel * 5HSLWDPRV HO OD ~OWLPD VHQWHQFLD TXH XWLOL]DED HO FRPDQGR FDW \ FDPELHPRVOD SRU UP leon:~> !45:s/cat/rm rm mensaje $SURYHFKHPRV HVWH ~OWLPR FRPDQGR \ HOLPLQHPRV HO DUFKLYR PD\XVFXODV FDPELDQGR HO DUJXPHQWR DO FRPDQGR TXH DFDEDPRV GH HMHFXWDU leon:~> ^mensaje^mayusculas rm mayusculas 3RGHPRV FUHDU GH QXHYR DO DUFKLYR PD\XVFXODV XVDQGR WRXFK \ XWLOL]DQGR HO SULPHU SDUiPHWUR GHO FRPDQGR DQWHULRU leon:~> touch !^ touch mayusculas 127$ 62%5( /$ &203/(7$&,Ð1 '( &20$1'26 3 D U D T X H F R P D Q G R X W L O L F H H O F R P D Q G R X Q F R P D Q G R D Q W H U L R U ~ O W L P R X W L O L F H H V F U L E D W R G R V F R P D Q G R D U J X P H Q W R G H O O R V D U J X P H Q W R V 3 D U D F R P D Q G R T X H D Q W H U L R U G H O X Q F R P D Q G R H V F U L E D 3RGHPRV UHSHWLU XQD VHULH GH FRPDQGRV XWLOL]DQGR XQ OD]R ORRS 6XSRQJDPRV TXH TXHUHPRV FUHDU ORV DUFKLYRV DUFKLYR H[SHULPHQWR SUXHED leon:~> foreach i ( prueba1 archivo2 experimento ) foreach? touch $i foreach? end leon:~> ls archivo2 experimento prueba1 leon:~> 3ULPHUR GHFODUDPRV HO OD]R \ XQD YDULDEOH GH FRQWURO OXHJR OH GHFLPRV TXp FRPDQGR TXHUHPRV XVDU FRQ FDGD XQD GH ORV HOHPHQWRV HQ HO OD]R \ ILQDOPHQWH WHUPLQDPRV GH GHILQLU ODV LQVWUXFFLRQHV HVFULELHQGR OD SDODEUD HQG FRQ OR FXDO VH LQLFLD OD HMHFXFLyQ GHO OD]R &5($1'2 $7$-26 3$5$ &20$1'26 $ YHFHV HV FRQYHQLHQWH FUHDU DWDMRV SDUD ORV FRPDQGRV PDV XWLOL]DGRV HVWR VH SXHGH KDFHU XWLOL]DQGR HO DUFKLYR FVKUF 3RU HMHPSOR VXSRQJDPRV TXH FDGD YH] TXH TXHUDPRV OLPSLDU OD SDQWDOOD HVFULELPRV FOV HQ YH] GH FOHDU \ K SDUD YHU OD KLVWRULD GH FRPDQGRV HQ YH] GH KLVWRU\ leon:~> leon:~> leon:~> 1 2 3 4 5 6 7 8 9 10 11 leon:~> alias cls clear alias h history h 23:02 ls 23:02 rm listado-archivos-etc 23:02 rm mayusculas 23:02 ls 23:02 clear 23:03 foreach i ( prueba1 archivo2 experimento ) 23:03 foreach i ( prueba1 archivo2 experimento ) 23:03 ls 23:14 alias cls clear 23:14 alias h history 23:14 h 86$1'2 6867,78&,Ð1 '( &20$1'26 6XSRQJDPRV TXH TXHUHPRV REWHQHU LQIRUPDFLyQ GHO GHPRQLR LQHWG GHPRQLR HQFDUJDGR GH FRQWURODU RWURV GHPRQLRV GHO VLVWHPD 3RGUtDPRV KDFHUOR DVt leon:~> ps -aux | grep in.inetd | grep -v grep root 54 0.0 4.7 780 336 ? S Sep 30 /usr/sbin/inetd leon:~> 0:02 6LQ HPEDUJR VDEHPRV TXH DOJXQRV GHPRQLRV GHMDQ GLFKR FRQ TXH LGHQWLILFDGRU GH SURFHVR HVWiQ FRUULHQGR HQ XQ DUFKLYR GH WH[WR HQ HO GLUHFWRULR YDUUXQ HVWH HV HO FDVR GHO LQHWG 6L SXGLpUDPRV GDUOH HVD LQIRUPDFLyQ D SV WRGR VHUtD PiV VHQFLOOR leon:~> ps -aux `cat /var/run/inetd.pid` USER PID %CPU %MEM SIZE RSS TTY STAT START COMMAND root 54 0.0 4.7 780 336 ? S Sep 30 /usr/sbin/inetd leon:~> TIME 0:02 'H HVWD PDQHUD QRV HYLWDPRV XWLOL]DU GRV YHFHV DO SURJUDPD JUHS \ VRODPHQWH XWLOL]DPRV XQD YH] DO SURJUDPD FDW 86$1'2 &21752/ '( 75$%$-26 8Q WUDEDMR HV FXDOTXLHU FRPDQGR TXH XVWHG KD LQLFLDGR \ D~Q QR VH KD FRPSOHWDGR /D FRQFKD SURYHH XQD IDFLOLGDG GH FRQWURO TXH GHWHQHU VXVSHQGHU FRPDQGRV GH PDQHUD WHPSRUDO \ ORV UHVXPD PiV WDUGH R PXHYD ORV FRPDQGRV DWUiV \ DGHODQWH HQWUH HO SULPHU \ VHJXQGR SODQR (O FRQWURO GH WUDEDMRV HV ~WLO HQ ODV VLJXLHQWHV VLWXDFLRQHV • 8VWHG SXHGH PRYHU XQ WUDEDMR OHQWR DO VHJXQGR SODQR \ WUDEDMDU HQ RWUD FRVD PLHQWUDV HO WUDEDMR OHQWR VH HMHFXWD 7DPELpQ HO XVXDULR SXHGH GHWHQHU XQ WUDEDMR ODUJR R XQ WUDEDMR TXH VH HVWi WDUGDQGR PiV GH ORV HVSHUDGR \ SXHGH FRORFDUOR HQ VHJXQGR SODQR VLQ QHFHVLGDG GH PDWDUOR • 8VWHG SXHGH SRQHU D GRUPLU XQ WUDEDMR UHVXPLpQGROR GHVSXpV SDUD TXH FRQWLQ~H • 8VWHG SXHGH PDWDU XQ FRPDQGR VL GHFLGH QR GHMDUOR WHUPLQDU SRU DOJXQD UD]yQ /D VLJXLHQWH WDEOD PXHVWUD OD OLVWD GH FRPDQGRV EiVLFRV SDUD FRQWURO GH WUDEDMRV &RPDQGR (IHFWR GHO FRPDQGR &WUO ] &WUO F )J %J .LOO 6WRS -REV 3DUD XQ WUDEDMR HQ SULPHU SODQR ,QWHUUXPSH XQ WUDEDMR HQ SULPHU SODQR (QYtD XQ WUDEDMR TXH HVWDED GHWHQLGR R HQ VHJXQGR SODQR D SULPHU SODQR 0XHYH XQ WUDEDMR GHWHQLGR D VHJXQGR SODQR 0DWD XQ WUDEDMR GHWHQLGR R HQ VHJXQGR SODQR 'HWLHQH XQ WUDEDMR HQ VHJXQGR SODQR 0XHVWUD OD OLVWD GH WUDEDMR DFWXDOHV 7DEOD &RPDQGRV XVDGRV SDUD FRQWURO GH WUDEDMRV 9DPRV D SUREDU DKRUD ORV FRPDQGRV TXH DFDEDPRV GH DSUHQGHU 'HWHQJDPRV XQ WUDEDMR TXH HVWi HQ SULPHU SODQR leon:~> sleep 2000 <Ctrl-Z> Suspended leon:~> $KRUD YDPRV D GHMDUOR FRUULHQGR HQ VHJXQGR SODQR leon:~> bg [1] sleep 2000 & leon:~> 9HDPRV FRPR SRGHPRV WUDHU XQ SURFHVR D SULPHU SODQR FRQ IJ leon:~> sleep 5000 <Ctrl-Z> Suspended leon:~> fg sleep 5000 9HDPRV DKRUD TXH WUDEDMRV HVWiQ HQ VHJXQGR SODQR leon:~> jobs [1] + Running [2] Running leon:~> sleep 2000 sleep 5000 (O VLJQR VLJQLILFD TXH HO WUDEDMR HV HO WUDEDMR DFWXDO 3DUD GHWHQHU HO WUDEDMR DFWXDO HVFULED leon:~> stop % [1] + Suspended (signal) leon:~> sleep 2000 3RGHPRV UHIHULUQRV D ORV WUDEDMRV SRU Q~PHUR (OLPLQHPRV HO WUDEDMR leon:~> kill %2 [2] Terminated leon:~> leon:~> jobs [1] + Suspended (signal) leon:~> sleep 5000 sleep 2000 $~Q WHQHPRV XQ WUDEDMR GHWHQLGR 3RGHPRV PDWDUOR VL TXHUHPRV UHILULpQGRQRV DO SURFHVR SRU VX QRPEUH leon:~> kill %sleep [1] Terminated leon:~> sleep 2000 2WUD IRUPD GH UHIHULUQRV D XQ WUDEDMR HV GHFLUOH D OD FRQFKD TXH EXVTXH FLHUWD FDGHQD \ QR HO LQLFLR GH OD FDGHQD 6XSRQJD TXH WHQHPRV HO VLJXLHQWH FDVR leon:~> jobs [1] + Running [2] - Running leon:~> sleep 5000 sleep 5001 $TXt SRGHPRV HOLPLQDU DO WUDEDMR VLQ QHFHVLGDG GH XWLOL]DU VX Q~PHUR GH WUDEDMR ItMHVH TXH DPERV FRPLHQ]DQ FRQ OD FDGHQD VOHHS \ HO PpWRGR GH UHIHUHQFLD DQWHULRU QR QRV VLUYH leon:~> kill %?01 leon:~> [2] Terminated leon:~> sleep 5001 &RQ HVWD RUGHQ OH GHFLPRV D OD FRQFKD TXH EXVTXH XQ JUXSR GH FDUDFWHUHV GHQWUR GHO LGHQWLILFDGRU GHO WUDEDMR 75$%$-2 (1 0$48,1$6 5(027$6 8QD FDUDFWHUtVWLFD PX\ SRGHURVD GH 81,; HV TXH SHUPLWH WUDEDMDU D GLVWDQFLD FRQ RWUDV PiTXLQDV 7DQWR WHOQHW FRPR UORJLQ SHUPLWHQ FRQHFWDUVH D FRPSXWDGRUDV UHPRWDV SHUPLWLHQGR WUDEDMDU HQ HOODV FRPR VL VH HVWXYLHUD VHQWDGR IUHQWH D HOODV LQWURGXFLHQGR RUGHQHV SRU WHFODGR (O XVR GH WHOQHW \ UORJLQ GHSHQGH GH OD GLVSRQLELOLGDG GH HVWDV KHUUDPLHQWDV SRU HMHPSOR EDMR :LQGRZV XVWHG FRQVHJXLUi VRODPHQWH WHOQHW PLHQWUDV TXH EDMR FXDOTXLHU 81,; HQFRQWUDUi WDQWR WHOQHW FRPR UORJLQ 7HOQHW \ UORJLQ SRVHHQ IXQFLRQHV VLPLODUHV \ YHUHPRV FyPR XVDU DPEDV KHUUDPLHQWDV 6XSRQJDPRV TXH TXHUHPRV FRQHFWDUQRV D XQD PiTXLQD OODPDGD WLJUHIHOLQRVYH XVDQGR WHOQHW leon:~>telnet tigre.felinos.ve tigre login: angel Password: Last login: Wed Oct 8 08:52:42 from leon.felinos.ve Linux 2.0.27. tigre:~> 2WUD IRUPD GH LQYRFDU WHOQHW HV HVFULELHQGR WHOQHW (17(5! \ HVFULELU ORV FRPDQGRV GHVGH DOOt leon:~> telnet telnet> 8QD YH] GHQWUR GH WHOQHW SRGHPRV SHGLU D\XGD SDUD YHU VXV FRPDQGRV telnet> ? Commands may be abbreviated. close logout display mode open quit send set unset status toggle slc z environ ? telnet> Commands are: close current connection forcibly logout remote user and close the connection display operating parameters try to enter line or character mode ('mode ?' for more) connect to a site exit telnet transmit special characters ('send ?' for more) set operating parameters ('set ?' for more) unset operating parameters ('unset ?' for more) print status information toggle operating parameters ('toggle ?' for more) change state of special charaters ('slc ?' for more) suspend telnet change environment variables ('environ ?' for more) print help information < GHVGH DOOt SRGHPRV FRQHFWDUQRV DO VLVWHPD UHPRWR telnet> open tigre Trying 192.168.1.2... Connected to tigre.felinos.ve. Escape character is '^]'. Linux 2.0.27 (tigre.felinos.ve) (ttyp0) tigre login: 127$ 62%5( (/ 862 '( 7(/1(7 & R Q W H O Q H W T X p F X H Q W D O X V X D U L R T X L H U H P i T X L Q D W U D E D M D U S X H G H H Q O D H V S H F L I L F D U P i T X L Q D F R Q U H P R W D (Q FDPELR FRQ UORJLQ QR KDFH IDOWD HVSHFLILFDU HO XVXDULR HO SURJUDPD DVXPH TXH OD FXHQWD TXH HVWiQ HQ XVR HV OD PLVPD TXH HVWi HQ HO VLVWHPD UHPRWR leon:~> rlogin tigre Password: Last login: Wed Oct 8 08:53:12 from leon.felinos.ve Linux 2.0.27. tigre:~> 6LQ HPEDUJR HVR QR VLJQLILFD TXH XVWHG QR SXHGD HVSHFLILFDU HO XVXDULR TXH XVWHG TXLHUH VHU HQ HO VLVWHPD UHPRWR VXSRQLHQGR TXH XVWHG VDEH HO SDVVZRUG GH HVD FXHQWD leon:~> rlogin tigre -l mendez Password: 127$ 62%5( 6,67(0$6 (48,9$/(17(6 ( [ L V W H X Q D V L V W H P D V V L Q R S F L y Q H V W R T X H H V W R V Q H F H V D U L D F R Q K D E L O L W D U H V W D U K R V W V O t Q H D V H Q K D F H H V W R X Q D P D T X L Q D O H R Q M R V H W L J U H M R V H Y S H U P L W H S D V V Z R U G R S F L y Q O O D P D G D D Q J H O U V K X Q G H \ \ 3 D U D O O D P D G R F R O R T X H W L H Q H R W U R V H V U F S V X S R Q J D P R V D Q J H O D V L V W H P D V R S F L y Q R D U F K L Y R K R J D U V L J X L H Q W H V O O D P D H V W D F R P R F U H H G L U H F W R U L R V H F R Q H F W D U V H H T X L Y D O H Q F L D S U R J U D P D V O D T X H T X H O O D P D S L G D Q V X F R P R V H D O O t T X H V X H O X Q D V X V X D U L R F X H Q W D H Q O H R Q M R V H Y S X P D 6 L J Q L I L F D % D M R T X H G H V G H O H R Q S X H G H G H V G H / L Q X [ I X Q F L R Q D V L H V W D M R V H Y M R V H Y S X P D H W F K R V W V H T X L Y O R F D O K R V W S D Q W H U D I H O L Q R V Y H P L V P D V \ S X H G H W R G R V F D U D F W H U t V W L F D H V W D V O H R Q I H O L Q R V Y H D Q J H O T X H O L Q H D V M R V H S X H G H Q G H V G H W L J U H V L Q H V W i V R Q H Q W U D U F R Q H F W D U V H \ T X H D Q J H O S D V V Z R U G G H V K D E L O L W D G D D J U H J D G D V S R U \ V y O R U R R W H Q S X P D I H O L Q R V Y H 1 R G H V H U H F R P L H Q G D H V W D R S F L y Q S R U T X H S X H G H V H U X Q D E U H F K D V H J X U L G D G &23,$1'2 $5&+,926 '( 81 6,67(0$ $ 2752 3XHGH FRSLDU DUFKLYRV HQWUH VLVWHPDV FRQ HO FRPDQGR IWS HVFULELHQGR OR VLJXLHQWH \ SUHVLRQDQGR HQWHU IWS PDTXLQD 2 HVFULELHQGR IWS SUHVLRQDQGR OXHJR HQWHU IWS < GHVSXpV HVFULED OD PDTXLQD D OD FXDO VH YD D FRQHFWDU RSHQ PDTXLQD 6H GHEH VHU FXLGDGRVR FRQ HO WLSR R PRGR GH WUDQVIHUHQFLD GHO DUFKLYR 3RU OR JHQHUDO VH XWLOL]D HO PRGR GH WUDQVIHUHQFLD ELQDULR ~WLO SDUD WUDHU SURJUDPDV FRPSLODGRV DUFKLYRV FRPSULPLGRV LPiJHQHV FXDOTXLHU FRVD TXH QR VHD XQ DUFKLYR GH WH[WR SODQR \ HO PRGR GH WH[WR HO FXDO VLUYH VyOR SDUD WUDHU DUFKLYRV GH WH[WR SODQR 127$ 62%5( /26 02'26 '( 75$16)(5(1&,$ ( O P R G R E L Q D U L R W D P E L p Q ( O P R G R E L Q D U L R V H D U F K L Y R I X H Q W H D X Q T X H H V W R V P D T X L Q D D U F K L Y R V H D E L W V G H V W L Q R G H W H [ W R V L U Y H D V H J X U D O D P L V P D Q R X Q H M H P S O R K H F K R O D T X H W H Q J D Q S R U S D U D T X H E D M R W U D H U D U F K L Y R V V H F X H Q F L D O D G H O D U F K L Y R V L J Q L I L F D G R V H F X H Q F L D V P V G R V G H G H ~ W L O G H G H E L W V G H V W L Q R H Q O D H V F D S H G L V W L Q W D V D W H [ W R G H O O D V G H X Q G H 8 1 , ; 9HDPRV FRPR VH FRPSRUWD XQD VHVLyQ GH HMHPSOR leon:~> ftp tigre Connected to tigre.felinos.ve. 220 tigre FTP server (Version wu-2.4(1) Tue Dec 5 20:51:15 CST 1995) ready. Name (tigre:angel): angel 331 Password required for angel. Password: 230 User angel logged in. ftp> 127$ 62%5( )73 $121,02 1 R H V U H P R W D Q H F H V D U L R S D U D D Q R Q L P R S ~ E O L F R H O H O H F W U R Q L F D H M H P S O R F X D O / R V D Q R Q \ P R X V W H Q H U X W L O L ] D U R X Q O R J L Q I W S S H U P L W H 6 H \ S D V V Z R U G S X H G H G H M D U \ W U D H U V H U Y L G R U H V D Q y Q L P R V S L G H Q I W S S D V V Z R U G O D G H \ F R P R T X L H Q X V D H O V H U Y L F L R H Q X W L O L ] D U X Q D X Q D U F K L Y R V F R P R G L U H F F L y Q P D T X L Q D V H U Y L G R U G H O R J L Q G H I W S G R P L Q L R F R U U H R M R V H # L Q J X O D Y H S R U 8QD YH] GHQWUR GHO GLUHFWRULR UHPRWR SRGHPRV H[DPLQDU HO FRQWHQLGR GHO GLUHFWRULR FRQ HO FRPDQGR GLU R FRQ HO FRPDQGR OV ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 339 drwxr-xr-x 2 angel users 1024 Oct 8 21:18 drwxr-xr-x 10 root root 1024 Oct 8 08:52 -rw------1 angel users 328 Oct 8 21:14 -rw-r--r-1 angel users 34 Nov 24 1993 -rw-r--r-1 angel users 114 Nov 24 1993 -rw-r--r-1 angel users 17 Oct 8 09:53 -rw-rw-r-1 angel users 328520 Oct 8 21:17 -rw-rw-r-1 angel users 8945 Oct 8 21:18 226 Transfer complete. ftp> . .. .history .less .lessrc .rhosts alltags.html angel.jpg 9HPRV TXH WHQHPRV XQ DUFKLYR SRVLEOHPHQWH HVFULWR HQ KWPO DOOWDJVKWPO \ XQD IRWR OODPDGD DQJHOMSJ 6XSRQJD TXH HQ HVWD VHVLyQ ILFWLFLD XVWHG TXLHUH WUDHUVH DPERV DUFKLYRV ftp> get alltags.html 200 PORT command successful. 150 Opening ASCII mode data connection for alltags.html (328520 bytes). 226 Transfer complete. 331704 bytes received in 1.62 secs (2e+02 Kbytes/sec) )WS HVWi SRU RPLVLyQ HQ PRGR DVFLL SRU OR TXH SRGHPRV WUDHUQRV HO DUFKLYR KHFKR HQ KWPO VLQ QLQJ~Q SUREOHPD /R WUDHPRV XVDQGR HO FRPDQGR JHW 3DUD WUDHU OD IRWR SULPHUR HVSHFLILFDPRV TXH VH WUDWD GH XQ DUFKLYR ELQDULR GHVSXpV OR WUDHPRV ftp> bin 200 Type set to I. ftp> get angel.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for angel.jpg (8945 bytes). 226 Transfer complete. 8945 bytes received in 0.293 secs (30 Kbytes/sec) ftp> ¢1R VHUtD PiV FyPRGR WUDHUQRV ORV GRV DUFKLYRV GH XQD VROD YH] FRQ XQ VROR FRPDQGR" /D VHQWHQFLD PJHW VH HQFDUJD GH HVWR \ SURPSW RII QRV GD OD FRPRGLGDG GH TXH IWS QR QRV HVWp SUHJXQWDQGR VL TXHUHPRV WUDHUQRV XQ DUFKLYR SRU FDGD DUFKLYR HQ HO GLUHFWRULR ftp> bin 200 Type set to I. ftp> prompt Interactive mode off. ftp> mget * local: alltags.html remote: alltags.html 200 PORT command successful. 150 Opening BINARY mode data connection for alltags.html (328520 bytes). 226 Transfer complete. 328520 bytes received in 0.717 secs (4.5e+02 Kbytes/sec) local: angel.jpg remote: angel.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for angel.jpg (8945 bytes). 226 Transfer complete. 8945 bytes received in 0.184 secs (48 Kbytes/sec) ftp> 1RWH FRPR WUDMLPRV XQ DUFKLYR GH WH[WR KWPO XWLOL]DQGR XQ PRGR ELQDULR OR FRQWUDULR QR SXHGH KDFHUVH )WS SHUPLWH XQ PDQHMR GH GLUHFWRULRV VLPLODU D XQD FRQFKD 81,; FRPR WFVK (O FRPDQGR SZG HVWi GLVSRQLEOH \ QRV PXHVWUD HO GLUHFWRULR GH WUDEDMR OV 5 PH SHUPLWH OLVWDU GH PDQHUD UHFXUVLYD HO FRQWHQLGR GH VXEGLUHFWRULRV &RQ IWS WDPELpQ SRGHPRV HVSHFLILFDU HO GLUHFWRULR ORFDO HQ GRQGH TXHUHPRV FRORFDU QXHVWURV DUFKLYRV VL HVWDPRV WUD\HQGRORV GH DOJXQ ODGR R HQ GRQGH HVWiQ ORV DUFKLYRV TXH TXHUHPRV GHMDU 6XSRQJDPRV TXH TXHUHPRV GHMDU XQD FRSLD GH XQD LPDJHQ OODPDGD DQJHOMSJ HQ HO VHUYLGRU UHPRWR \ TXH OD LPDJHQ VH HQFXHQWUD HQ HO GLUHFWRULR aDQJHOIRWRVDQJHOMSJ ftp> lcd ~angel/fotos Local directory now /home/angel/fotos ftp> bin 200 Type set to I. ftp> put angel2.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for angel2.jpg. 226 Transfer complete. 8945 bytes sent in 0.0116 secs (7.5e+02 Kbytes/sec) ftp> 9HDPRV ODV RSHUDFLRQHV TXH VH UHDOL]DURQ DTXt &DPELDPRV HO GLUHFWRULR ORFDO GH aDQJHO D aDQJHOIRWRV &RORFDPRV HO PRGR GH WUDQVIHUHQFLD HQ ELQDULR (QYLDPRV HO DUFKLYR FRQ HO FRPDQGR SXW 7DPEtHQ SRGHPRV HQYLDU YDULRV DUFKLYRV FRQ HO FRPDQGR VH DSOLFD DTXt PSXW HO FRPDQGR SURPSW RII WDPELpQ ftp> hash Hash mark printing on (1024 bytes/hash mark). &RQ HO FRPDQGR KDVK SRGHPRV PRQLWRUHDU GH PDQHUD XQ SRFR PiV JUDILFD FRPR YD OD WUDQVIHUHQFLD GHO DUFKLYR ftp> mput * local: ./angel2.jpg remote: ./angel2.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for ./angel2.jpg. ######## 226 Transfer complete. 8945 bytes sent in 0.0108 secs (8.1e+02 Kbytes/sec) ftp> (Q HVWH FDVR VyOR KDEtD XQ DUFKLYR GHQWUR GHO GLUHFWRULR aDQJHOIRWRV 8Q ~OWLPR WUXFR FRQ IWS XVWHG SXHGH GDUOH RUGHQHV D OD FRQFKD GHVGH IWS XVDQGR HO FDUiFWHU ftp> ! > who angel > exit exit ftp> ttyp0 Oct 8 20:48 (pantera.felinos.) )tMHVH FRPR HMHFXWDPRV HO FRPDQGR ZKR HQ OD PDTXLQD ORFDO \ OXHJR YROYLPRV D IWS SDUD FRQWLQXDU WUDEDMDQGR HQ OD PiTXLQD UHPRWD &20$1'26 0,6&(/$1(26 3$5$ (/ 0$1(-2 '( $5&+,926 &2035,0,(1'2 $5&+,926 &21 *=,3 /RV DUFKLYRV DEXQGDQ HQ XQ VLVWHPD 81,; \ HQ YH] GH HOLPLQDUORV XQD PHMRU RSFLyQ HV FRPSULPLUORV KDVWD TXH HVWRV YXHOYDQ D VHU QHFHVLWDGRV SDUD TXH RFXSHQ PHQRV HVSDFLR 3DUD FRPSULPLU XQ DUFKLYR FRQ J]LS HVFULED OR VLJXLHQWH gzip -9 [archivo] /D RSFLyQ OH GLFH D J]LS TXH DSOLTXH XQD FRPSUHVLyQ Pi[LPD DO DUFKLYR 8Q DUFKLYR FRPSULPLGR FRQ J]LS WLHQH OD H[WHQVLyQ J] DJUHJDGD DO ILQDO GHO DUFKLYR (03$48(7$1'2 $5&+,926 &21 7$5 7$3( $5&+,9(5 /D XWLOLGDG WDU KD VLGR XWLOL]DGD EDMR 81,; SRU YDULRV DxRV /D XWLOLGDG WDU IXH GLVHxDGD SDUD FUHDU XQ VROR DUFKLYR D SDUWLU GH YDULRV DUFKLYRV VLPLODU D SN]LS VyOR TXH WDU QR FRPSULPH ORV DUFKLYRV /D VLQWD[LV JHQHUDO GH WDU HV tar [opciones] [archivo] 7DU WLHQH PXFKDV RSFLRQHV QXPHURVDV \ DOJXQDV GH HOODV KDVWD FRQIXVDV 8Q HMHPSOR VLPSOH SDUD FUHDU XQ DUFKLYR HV HO VLJXLHQWH tar cvf respaldo1.tar /home/angel 7DU PH FUHD HO DUFKLYR UHVSDOGRWDU FRQ WRGR HO FRQWHQLGR GHO GLUHFWRULR KRPHDQJHO /D RSFLRQ F FUHDWH PH FUHD XQ DUFKLYR GHVGH FHUR \ VL HO DUFKLYR H[LVWH OR VREUHHVFULEH OD RSFLyQ Y YHUERVH PH PXHVWUD SRU SDQWDOOD WRGRV ORV PHQVDMHV D PHGLGD TXH VH HPSDTXHWD HO DUFKLYR \ OD RSFLyQ I ILOH PH GLFH FXDO HV HO QRPEUH GHO DUFKLYR GH VDOLGD WDU QR OH DJUHJD OD H[WHQVLyQ WDU D VXV DUFKLYRV DXQTXH VH KDFH SRU FRQYHQFLyQ SDUD VDEHU TXH IXHURQ HPSDTXHWDGRV FRQ WDU 3DUD GHVHPSDTXHWDU XQ DUFKLYR KHFKR FRQ WDU HVFULELPRV tar xvf [archivo.tar] 7DU VH HQFDUJD GH YROYHU D FUHDU ORV VXEGLUHFWRULRV \ GLUHFWRULRV HQ GRQGH HVWDEDQ DOPDFHQDGRV FDGD XQR GH ORV DUFKLYRV OR TXH OR KDFH PX\ ~WLO SDUD KDFHU UHVSDOGRV 6L XVWHG OR TXH TXLHUH HV YHU HO FRQWHQLGR GHO DUFKLYR WDU DQWHV GH GHVFRPSULPLUOR HVFULED tar tvf [archivo.tar] %8648('$6 $9$1=$'$6 '( 3$7521(6 < $5&+,926 862 '( *5(3 3$5$ %86&$5 3$7521(6 (O FRPDQGR JUHS EXVFD HQ VX HQWUDGD OLQHDV TXH FRQWLHQHQ XQ SDWUyQ GDGR /D PD\RUtD GH ORV XVXDULRV XWLOL]DQ JUHS SDUD EXVFDU FDGHQDV GH FDUDFWHUHV GHQWUR GH DUFKLYRV 3RU HMHPSOR VXSRQJDPRV TXH HVWDPRV LQWHUHVDGRV HQ VDEHU FXiQWDV YHFHV DSDUHFH OD SDODEUD IWS GHQWUR GHO DUFKLYR HWFVHUYLFHV leon:~> grep -c ftp /etc/services 3 leon:~> 2WUR XVR PX\ FRP~Q GH JUHS HV HQFRQWUDU LQIRUPDFLyQ VRODPHQWH GH FLHUWRV SURFHVRV GH XQ XVXDULR 9HDPRV FyPR SRGHPRV VDEHU TXp SURFHVRV HVWi HMHFXWDQGR HO XVXDULR DQJHO leon:~> ps -aux angel 13264 angel 13297 angel 13299 angel 13300 leon:~> | grep angel 0.3 10.0 1132 2.8 6.2 844 0.0 5.1 824 0.0 4.3 868 704 436 364 304 p0 p0 p0 p0 S T R S 09:17 09:24 09:24 09:24 0:01 0:00 0:01 0:00 -tcsh ftp tigre ps -aux grep angel £(VFULED VRODPHQWH SV DX[ \ SUXHEH TXp RFXUUH 2WUR VLWLR ~WLO SDUD XVDU JUHS HV FRQ HO FRPDQGR PDQ N (Q HO HMHPSOR XWLOL]DGR SDUD PRVWUDU D\XGD VREUH HO FDPELR GH QRPEUH GH DUFKLYRV SXGLPRV KDEHU XWLOL]DGR leon:~> man -k rename|grep files mv (1) - rename files mv (1) - rename files leon:~> 862 '( ),1' 3$5$ %86&$5 $5&+,926 )LQG HV XQR GH HVRV FRPDQGRV TXH OH KDFHQ SHQVDU FRPR SXGR KDEHU HVWDGR WUDEDMDQGR FRQ 81,; VLQ KDEHUOR XWLOL]DGR XQD YH] DSUHQGLGR FODUR HVWD )LQG ORFDOL]D DUFKLYRV TXH FXPSOHQ FRQ FLHUWDV FDUDFWHUtVWLFDV FRPXQHV ODV FXDOHV XVWHG HVSHFLILFD HQ FXDOTXLHU SDUWH GHO VLVWHPD HQ OD FXDO XVWHG OH GLFH TXH EXVTXH )LQG WLHQH OD VLJXLHQWH VLQWD[LV find directorios-de-busqueda-de-inicio criterios-de-busqueda-yacciones (O XVR PiV VHQFLOOR GH ILQG HV HQFRQWUDU DUFKLYRV \ PRVWUDUQRV VX XELFDFLyQ 3RU HMHPSOR TXHUHPRV VDEHU HQ GRQGH HVWiQ WRGRV QXHVWURV DUFKLYRV MSJ HQ HO GLUHFWRULR aDQJHO leon:~> find ~angel -name "*.jpg" -print /home/angel/angel.jpg /home/angel/fotos/angel2.jpg leon:~> &RPR SXHGH YHU ILQG KDFH XQD E~VTXHGD UHFXUVLYD SRU WRGR HO iUERO GH GLUHFWRULR 6XSRQJDPRV TXH KDFH WUHV GLDV QRVRWURV FRSLDPRV FLHUWRV DUFKLYRV \ TXHUHPRV VDEHU FXiOHV VRQ HVWH HV XQ HMHPSOR GH XQD EXVTXHGD UHILQDGD leon:~> find ~angel -name "*" -atime -2 -print /home/angel /home/angel/X_COURSE.TGZ /home/angel/alltags.html /home/angel/angel.jpg /home/angel/fotos /home/angel/fotos/angel2.jpg leon:~> (O SDUiPHWUR DWLPH VLJQLILFD DUFKLYRV FX\R WLHPSR GH DFFHVR VHD PHQRU D GRV GtDV 3HUR OD XWLOLGDG GH ILQG YD PiV DOOi GH VRODPHQWH PRVWUDU OD XELFDFLyQ GH DUFKLYRV 3RGHPRV GHFLUOH D ILQG TXH HMHFXWH FLHUWDV DFFLRQHV VREUH ORV DUFKLYRV TXH FXPSODQ FLHUWR FULWHULR 3LGiPRVOH TXH QRV PXHVWUH HO WDPDxR \ SHUPLVRV GH ORV DUFKLYRV TXH WLHQHQ PiV GH .E HQ QXHVWUR GLUHFWRULR leon:~> find ~angel -size +100 -exec ls -ls {} \; 139 -rw-rw-r-1 angel users 140580 Oct 8 20:59 /home/angel/X_COURSE.TGZ 324 -rw-rw-r-1 angel users 328520 Oct 8 21:06 /home/angel/alltags.html leon:~> 8Q XVR PX\ ~WLO GH ILQG HV HO GH HOLPLQDU EDVXUD 3RGHPRV SHGLUOH TXH HOLPLQH ORV DUFKLYRV TXH WHQJDQ PiV GH .E \ TXH QRV ORV PXHVWUH SRU SDQWDOOD leon:~> find ~angel -size +100 -print -exec rm {} \; /home/angel/X_COURSE.TGZ /home/angel/alltags.html leon:~> 127$ 62%5( (/ 862 '( ),1' 7 H Q J D G H F X L G D G R . E S i J L Q D V S R G U t D G H I L Q G F R Q V H U H O F R P D Q G R X Q S D U D D Q W H U L R U G R F X P H Q W R V D E H U P i V 8 Q D U F K L Y R L P S R U W D Q W H D F H U F D G H V X / H D X V R G H O D V P i V %,%/,2*5$)Ì$ /D VLJXLHQWH ELEOLRJUDItD HVWi UHODFLRQDGD FRQ HO WHPD \ SXHGH UHVXOWDU GH PXFKD XWLOLGDG HQ VX DSUHQGL]DMH • 6XQ 0LFURV\VWHPV 6XQ26 8VHU V *XLGH *HWWLQJ 6WDUWHG S • +XVDLQ .DPUDQ 3DUNHU 7LP /LQX[ 8QOHDVKHG 6DPV 3XEOLVKLQJ S • 7KRPDV 5HEHFFD <DWHV -HDQ 6LVWHPD RSHUDWLYR 81,; JXtD GHO XVXDULR 26%251( 0F*UDZ+LOO S • )LVKHU 6KDURQ 5LGLQJ WKH ,QWHUQHW +LJKZD\ 1HZ 5LGHUV 3XEOLVKLQJ S • .URO 'H 7KH :KROH ,QWHQHW 8VHU V *XLGH &DWDORJ 2 5HLOO\ $VVRFLDWHV ,1& S • 'XQERLV 3DXO 8VLQJ &VK DQ 7FVK 2 5HLOO\ $VVRFLDWHV ,1& S • )ULVFK $ (VVHQWLDO 6\VWHP $GPLQLVWUDWLRQ 2 5HLOO\ $VVRFLDWHV ,1& S • %ODQFR /LQR *DODQ 6XVDQD /LQX[ DO GtD HQ XQD KRUD $QD\D 0XOWLPHGLD S • 3iJLQD RILFLDO GH /LQX[ HQ ,QWHUQHW KWWSZZZOLQX[RUJ • /LQX[ 'RFXPHQWDWLRQ 3UR\HFW HQ FDVWHOODQR KWWSZZZLQIRUHV/X&$6