<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 思考 閱讀(272) 評(píng)論(0)  編輯  收藏 所屬分類: Linux
    主站蜘蛛池模板: 爱爱帝国亚洲一区二区三区| 成人免费视频网址| 美女视频黄频a免费观看| 亚洲精彩视频在线观看| 国产亚洲精品激情都市| 在线观看国产情趣免费视频| 最近中文字幕mv免费高清视频8| 又长又大又粗又硬3p免费视频 | 一级免费黄色大片| 亚洲午夜精品一区二区麻豆| 337p日本欧洲亚洲大胆精品555588| 中文字幕亚洲无线码| 又粗又大又猛又爽免费视频 | 91亚洲视频在线观看| 亚洲国产精品SSS在线观看AV| 亚洲精品偷拍视频免费观看| 国产区卡一卡二卡三乱码免费| 成年人免费网站在线观看| 最好看的中文字幕2019免费| 午夜爽爽爽男女免费观看影院| 波霸在线精品视频免费观看| 猫咪免费人成在线网站| 久久亚洲精品高潮综合色a片| 亚洲色大情网站www| 中文字幕无码精品亚洲资源网久久 | 久久久久亚洲精品日久生情 | 91精品导航在线网址免费| 无码精品国产一区二区三区免费| 在线成人精品国产区免费| 日韩精品无码免费专区午夜| a级片免费在线播放| 九九精品成人免费国产片| 久久国产精品国产自线拍免费| 免费无码H肉动漫在线观看麻豆| 免费无码又爽又刺激一高潮| 免费av一区二区三区| 特级精品毛片免费观看| 亚洲一级免费毛片| 免费人成在线视频| 曰皮全部过程视频免费国产30分钟 | 亚洲阿v天堂在线|