UNIX LINUX SHELL基础编程 十二

  • V8_916036
    了解作者
  • 702.8KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-22 08:05
    上传日期
UNIX LINUX SHELL 基础 编程 十二
shell基础编程.rar
  • shell基础十二篇.pdf
    803.6KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/62897e4fce083560b82d01d5/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/62897e4fce083560b82d01d5/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">shell<span class="ff2 ls1">&#22522;&#30784;<span class="_ _0"> </span><span class="ff1">1</span>&#65306;&#25991;&#20214;&#23433;&#20840;&#19982;&#26435;&#38480;<span class="ff1"> </span></span></div><div class="t m0 x1 h2 y2 ff2 fs0 fc0 sc0 ls1 ws0">&#36825;&#37324;&#38754;&#21487;&#33021;&#29992;&#21040;&#29992;&#25143;&#31649;&#29702;&#26041;&#38754;&#30340;&#30693;&#35782;<span class="_ _1"></span>&#65292;&#21487;&#26597;&#30475;&#36148;&#65306;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y3 ff1 fs0 fc1 sc0 ls3 ws0">http://bbs.chinaunix.ne<span class="_ _1"></span>t/foru<span class="ls4">m/viewtopic.php?p=2923303#2923303<span class="_ _1"></span><span class="fc0 ls5"> </span></span></div><div class="t m0 x1 h2 y4 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y5 ff2 fs0 fc0 sc0 ls1 ws0">&#20027;&#35201;&#26377;&#20197;&#19979;&#20869;&#23481;&#65306;<span class="ff1"> </span></div><div class="t m0 x2 h3 y6 ff1 fs1 fc0 sc0 ls1 ws0"> </div><div class="t m0 x3 h4 y7 ff2 fs2 fc0 sc1 ls6 ws0">&#20195;&#30721;<span class="ff3 sc0 ls1">:<span class="ff1 fs3"> </span></span></div><div class="t m0 x4 h5 y8 ff2 fs2 fc2 sc0 ls1 ws0">&#25991;&#20214;&#26435;&#38480;&#20301;<span class="ff1 ls7"> </span></div><div class="t m0 x4 h5 y9 ff2 fs2 fc2 sc0 ls1 ws0">&#22522;&#26412;&#21629;&#20196;<span class="ff1 ls7"> </span></div><div class="t m0 x4 h5 ya ff1 fs2 fc2 sc0 ls8 ws1">chmod </div><div class="t m0 x4 h5 yb ff1 fs2 fc2 sc0 ls9 ws2">suid/guid </div><div class="t m0 x4 h5 yc ff1 fs2 fc2 sc0 lsa ws3">chown </div><div class="t m0 x4 h5 yd ff1 fs2 fc2 sc0 lsb ws4">chgrp </div><div class="t m0 x4 h5 ye ff1 fs2 fc2 sc0 lsc ws0">umask<span class="_ _2"> </span><span class="ff2 ls1">&#31639;&#27861;&#21644;&#29992;&#27861;</span><span class="ls7"> </span></div><div class="t m0 x4 h5 yf ff2 fs2 fc2 sc0 ls1 ws0">&#31526;&#21495;&#38142;&#25509;<span class="ff1"> </span></div><div class="t m0 x1 h2 y10 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y11 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y12 ff2 fs0 fc0 sc0 ls1 ws0">&#24403;&#21019;&#24314;&#19968;&#20010;&#25991;&#20214;&#30340;&#26102;&#20505;&#65292;&#31995;&#32479;&#20445;&#23384;&#20102;<span class="_ _1"></span>&#26377;&#20851;&#35813;&#25991;&#20214;&#30340;&#20840;&#37096;&#20449;&#24687;&#65292;&#21253;&#25324;&#65306;<span class="_ _1"></span><span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y13 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1"> <span class="_ _3"></span></span>&#25991;&#20214;&#30340;&#20301;&#32622;&#12290;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y14 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1"> <span class="_ _3"></span></span>&#25991;&#20214;&#31867;&#22411;&#12290;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y15 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1"> <span class="_ _3"></span></span>&#25991;&#20214;&#38271;&#24230;&#12290;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y16 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1"> <span class="_ _3"></span></span>&#21738;&#20301;&#29992;&#25143;&#25317;&#26377;&#35813;&#25991;&#20214;&#65292;&#21738;&#20123;&#29992;&#25143;&#21487;<span class="_ _1"></span>&#20197;&#35775;&#38382;&#35813;&#25991;&#20214;&#12290;<span class="ff1 ls5"> </span></div><div class="t m0 x1 h2 y17 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1 ls2"> i<span class="_ _4"></span></span><span class="lsd">&#33410;&#28857;&#12290;<span class="ff1 ls2"> </span></span></div><div class="t m0 x1 h2 y18 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1"> <span class="_ _3"></span></span>&#25991;&#20214;&#30340;&#20462;&#25913;&#26102;&#38388;&#12290;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y19 ff2 fs0 fc0 sc0 ls1 ws0">&#8226;<span class="ff1"> <span class="_ _3"></span></span>&#25991;&#20214;&#30340;&#26435;&#38480;&#20301;&#12290;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y1a ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y1b ff2 fs0 fc0 sc0 ls1 ws0">&#35753;&#25105;&#20204;&#29992;<span class="_ _2"> </span><span class="ff1 lse">touch<span class="_ _5"> </span></span>&#21629;&#20196;&#21019;&#24314;&#19968;&#20010;&#25991;&#20214;&#65306;<span class="ff1"> </span></div><div class="t m0 x5 h3 y1c ff1 fs1 fc0 sc0 ls1 ws0"> </div><div class="t m0 x6 h4 y1d ff2 fs2 fc0 sc1 ls6 ws0">&#20195;&#30721;<span class="ff3 sc0 ls1">:<span class="ff1 fs3"> </span></span></div><div class="t m0 x3 h5 y1e ff1 fs2 fc2 sc0 lsf ws5">$ touch temp </div><div class="t m0 x1 h2 y1f ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y20 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h2 y21 ff2 fs0 fc0 sc0 ls1 ws0">&#21019;&#24314;&#20102;&#19968;&#20010;&#31354;&#25991;&#20214;&#65292;&#29616;&#22312;&#29992;<span class="_ _2"> </span><span class="ff1 ls10 ws6">ls -l<span class="_ _0"> </span></span>&#21629;&#20196;&#26597;&#30475;&#35813;&#30446;&#24405;&#19979;&#25991;&#20214;&#30340;&#23646;&#24615;&#65288;&#25105;&#36825;&#37324;&#29992;<span class="_ _1"></span>&#20013;&#25991;&#29256;<span class="ff1">)</span>&#65306;<span class="ff1 ls2"> </span></div><div class="t m0 x1 h2 y22 ff2 fs0 fc0 sc0 ls1 ws0">&#22914;&#19979;&#65306;<span class="ff1"> </span></div><div class="t m0 x7 h3 y23 ff1 fs1 fc0 sc0 ls1 ws0"> </div><div class="t m0 x6 h4 y24 ff2 fs2 fc0 sc1 ls6 ws0">&#20195;&#30721;<span class="ff3 sc0 ls1">:<span class="ff1 fs3"> </span></span></div><div class="t m0 x3 h5 y25 ff1 fs2 fc2 sc0 ls1 ws7">[root@Linux_chenwy temp]# ls -l <span class="_ _3"></span> </div><div class="t m0 x3 h5 y26 ff2 fs2 fc2 sc0 ls1 ws0">&#24635;&#29992;&#37327;<span class="ff1 ls11 ws8"> 36 </span></div><div class="t m0 x3 h5 y27 ff1 fs2 fc2 sc0 ls8 ws9">-rw-r--r-- <span class="_ _3"></span> <span class="_ _4"></span>1 root <span class="_ _3"></span> <span class="_ _3"></span> root <span class="_ _4"></span> <span class="_ _3"></span> <span class="_ _3"></span> <span class="_ _4"></span>34890 10<span class="_ _2"> </span><span class="ff2 ls1 ws0">&#26376;</span><span class="ls12 wsa"> <span class="_ _4"></span>19 2<span class="_ _6"></span>0:17 httpd.conf <span class="_ _3"></span> </span></div><div class="t m0 x3 h5 y28 ff1 fs2 fc2 sc0 ls13 wsb">-rw-r--r-- <span class="_ _4"></span> <span class="_ _3"></span>1 root <span class="_ _3"></span> <span class="_ _4"></span> root <span class="_ _3"></span> <span class="_ _3"></span> <span class="_ _4"></span> <span class="_ _3"></span> <span class="_ _3"></span> <span class="_ _4"></span>0 10<span class="_ _2"> </span><span class="ff2 ls1 ws0">&#26376;</span><span class="ls14 wsc"> <span class="_ _4"></span>19 20:<span class="_ _6"></span>16 temp </span></div><div class="t m0 x1 h2 y29 ff1 fs0 fc0 sc0 ls1 ws0"> </div><div class="t m0 x1 h3 y2a ff1 fs1 fc0 sc0 ls1 ws0"> </div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐