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

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

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

    隨筆-49  評論-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 思考 閱讀(272) 評論(0)  編輯  收藏 所屬分類: Linux
    主站蜘蛛池模板: 日本一道综合久久aⅴ免费| 国产精品无码免费播放| 亚洲精品成人久久久| 日韩免费人妻AV无码专区蜜桃| 亚洲免费人成在线视频观看| 国产a v无码专区亚洲av| 黄色毛片视频免费| 亚洲国产综合精品中文字幕| 成人精品综合免费视频| 久久精品国产亚洲7777| 亚洲人成激情在线播放| 免费观看的毛片大全| 亚洲欧美黑人猛交群| 在线观着免费观看国产黄| 黄网站色成年片大免费高清| 亚洲午夜福利精品无码| 热久久这里是精品6免费观看| 久久亚洲高清观看| 蜜臀98精品国产免费观看| 亚洲精品网站在线观看不卡无广告| 51午夜精品免费视频| 国产亚洲精品a在线观看app| 国产免费阿v精品视频网址| 亚洲综合在线成人一区| 一个人看的hd免费视频| 亚洲精品少妇30p| a拍拍男女免费看全片| 久久91亚洲人成电影网站| 日日麻批免费40分钟无码| youjizz亚洲| 久久99精品国产免费观看| 亚洲一区无码精品色| 久久99热精品免费观看牛牛| 亚洲国语在线视频手机在线| 最新国产乱人伦偷精品免费网站| 久久精品国产亚洲AV无码娇色| 成年人在线免费观看| 亚洲情A成黄在线观看动漫软件| 2019中文字幕免费电影在线播放| 中文字幕在线观看亚洲日韩| 亚洲日本在线观看视频|