<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-49  評(píng)論-67  文章-27  trackbacks-0
    suse:~ # help test
    test: test [expr]
        Exits with a status of 0 (true) or 1 (false) depending on
        the evaluation of EXPR.  Expressions may be unary or binary.  Unary
        expressions are often used to examine the status of a file.  There
        are string operators as well, and numeric comparison operators.
       
        File operators:
       
            -a FILE        True if file exists.
            -b FILE        True if file is block special.
            -c FILE        True if file is character special.
            -d FILE        True if file is a directory.
            -e FILE        True if file exists.
            -f FILE        True if file exists and is a regular file.
            -g FILE        True if file is set-group-id.
            -h FILE        True if file is a symbolic link.
            -L FILE        True if file is a symbolic link.
            -k FILE        True if file has its `sticky' bit set.
            -p FILE        True if file is a named pipe.
            -r FILE        True if file is readable by you.
            -s FILE        True if file exists and is not empty.
            -S FILE        True if file is a socket.
            -t FD          True if FD is opened on a terminal.
            -u FILE        True if the file is set-user-id.
            -w FILE        True if the file is writable by you.
            -x FILE        True if the file is executable by you.
            -O FILE        True if the file is effectively owned by you.
            -G FILE        True if the file is effectively owned by your group.
            -N FILE        True if the file has been modified since it was last read.
       
          FILE1 -nt FILE2  True if file1 is newer than file2 (according to
                           modification date).
       
          FILE1 -ot FILE2  True if file1 is older than file2.
       
          FILE1 -ef FILE2  True if file1 is a hard link to file2.
       
        String operators:
       
            -z STRING      True if string is empty.
       
            -n STRING
            STRING         True if string is not empty.
       
            STRING1 = STRING2
                           True if the strings are equal.
            STRING1 != STRING2
                           True if the strings are not equal.
            STRING1 < STRING2
                           True if STRING1 sorts before STRING2 lexicographically.
            STRING1 > STRING2
                           True if STRING1 sorts after STRING2 lexicographically.
       
        Other operators:
       
            -o OPTION      True if the shell option OPTION is enabled.
            ! EXPR         True if expr is false.
            EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.
            EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.
       
            arg1 OP arg2   Arithmetic tests.  OP is one of -eq, -ne,
                           -lt, -le, -gt, or -ge.
       
        Arithmetic binary operators return true if ARG1 is equal, not-equal,
        less-than, less-than-or-equal, greater-than, or greater-than-or-equal
        than ARG2.
    posted on 2007-08-12 10:38 思考 閱讀(288) 評(píng)論(0)  編輯  收藏 所屬分類: Linux
    主站蜘蛛池模板: 最近免费中文字幕大全免费| 男人免费视频一区二区在线观看| 久久久精品免费国产四虎| 亚洲爽爽一区二区三区| 麻豆一区二区三区蜜桃免费| 日本免费一区尤物| 亚洲熟妇无码AV| 国产特级淫片免费看| 国产成人综合亚洲绿色| 亚洲?v女人的天堂在线观看| 黄色三级三级免费看| 亚洲乱亚洲乱少妇无码| 在线视频网址免费播放| 亚洲AV无码久久精品蜜桃| 99久久人妻精品免费二区| 亚洲精品美女在线观看| 无码一区二区三区AV免费| 亚洲娇小性xxxx色| 在线观看91精品国产不卡免费| 国产精品亚洲二区在线| 国内精品99亚洲免费高清| 久久精品视频免费播放| 亚洲白嫩在线观看| 国产成人精品免费视频大全五级 | 亚洲人配人种jizz| 国产麻豆免费观看91| 无码AV动漫精品一区二区免费| 亚洲一区二区女搞男| 国产精品久久久久久久久免费| 亚洲国产成人精品无码区二本| 亚洲熟妇丰满多毛XXXX| 麻豆视频免费播放| 美女羞羞喷液视频免费| 亚洲AV无码第一区二区三区 | 未满十八18禁止免费无码网站| 免费大片av手机看片| 国产亚洲精品无码成人| 无码av免费毛片一区二区| 免费人成网站永久| 精品亚洲国产成AV人片传媒| 免费播放特黄特色毛片|