• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Prayer

            在一般中尋求卓越
            posts - 1256, comments - 190, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            linux命令strings

            Posted on 2009-07-22 15:32 Prayer 閱讀(18963) 評論(0)  編輯 收藏 引用 所屬分類: ShellLINUX/UNIX/AIX
            linux命令strings,其man信息如下:
            strings(1)                                        GNU Development Tools                                        strings(1)

            NAME
                   strings - 顯示文件中的可打印字符

            總覽 (SYNOPSIS)
                   strings
                          [-a|-|--all] [-f|--print-file-name] [-o] [--help] [-v|--version] [-n min-len|-min-len|--bytes=min-len] [-t
                          {o,x,d}[--target=bfdname] |--radix={o,x,d}] file

            描述 (DESCRIPTION)
                   For each file given, GNU strings 顯示 每個 指定的 file 文件里 包含的 所有 有 4個 (或者 用 選項 指定 的 數(shù)字) 以 上
                   連 續(xù) 可打印 字符 的字符串, 在 之后 緊跟著 一個 不可 打印 的 字符. 默認 情況 下, 它 只顯示 目標文件 初始化 和 裝載
                   段 的 字符串; 對于 其它 類型 的 文件 它 顯示 整個 文件 里包含 的 所有 字符串.

                   strings 一般 用來 查看 非 文本 文件 的 內容.

            選項 (OPTIONS)
                   在 這里 并列 的 長選項 和 短選項 都是 等價的.

                   -a

                   --all

                   -      不 只是 掃描 目標 文件 初始化 和 裝載 段, 而是 掃描 整個 文件.

                   -f

                   --print-file-name
                          在 顯示 字符串 之前 先 顯示 文件名.

                   --help 在 標準 輸出 打印 strings 命令 的 選項

                          列表

                          然后 退出.
               -v

                   --version
                          在 標準 輸出 打印 strings 命令 的 版本號 然后 退出.

                   -n min-len

                   -min-len

                   -bytes=min-len
                          打印 至少 min-len 字符 長 的 字符串. 默認的 是 4.

                   -t {o,x,d}

                   --radix={o,x,d}
                          在 字符串 前面 顯示 其在 文件 中 的 偏移量. 選項 中 的 單個 字符 指定 偏移量的 進制 是 八進制, 十六進制 還
                          是 十進制.

                   --target=bfdname
                          指定 一種 目標 代碼 格式 來 代替 你的 系統(tǒng)的 默認 格式. 關于 可用的 目標 代碼格式 請 參見 objdump(1).

                   -o     同 -t o.

            ------------------------------

            strings - print the strings of printable characters in files.

                   For each file given, GNU strings prints the printable character sequences that are at
                   least 4 characters long (or the number given with the options below) and are followed by
                   an unprintable character.   By default, it only prints the strings from the initialized
                   and loaded sections of object files; for other types of files, it prints the strings from
                   the whole file.
                   strings is mainly useful for determining the contents of non-text files.


            可見strings能輸出文件中的可打印字符串(可指定字符串的最小長度),通常用來查看非文本文件(如二進制可執(zhí)行文件)中的可讀內容。比如:

            [yixbao.cn]#strings /lib/tls/libc.so.6 | grep GLIBC
            GLIBC_2.0
            GLIBC_2.1
            GLIBC_2.1.1
            GLIBC_2.1.2
            GLIBC_2.1.3
            GLIBC_2.2
            GLIBC_2.2.1
            GLIBC_2.2.2
            GLIBC_2.2.3
            GLIBC_2.2.4
            GLIBC_2.2.6
            GLIBC_2.3
            GLIBC_2.3.2
            GLIBC_2.3.3
            GLIBC_2.3.4
            GLIBC_PRIVATE

            這樣就能看到glibc支持的版本。

            http://yixbao.cn/html/diannaojishu/200808/12-195.html

            91麻豆精品国产91久久久久久| 久久久久这里只有精品 | 欧美精品乱码99久久蜜桃| 久久人人爽人人爽人人片AV高清 | 秋霞久久国产精品电影院| 久久性精品| 国产精品99久久久久久人| 欧美日韩精品久久久免费观看| 亚洲级αV无码毛片久久精品| 久久99国产精品久久99果冻传媒| 久久这里都是精品| 88久久精品无码一区二区毛片| 亚洲欧美一区二区三区久久| 99久久成人国产精品免费| 久久婷婷国产剧情内射白浆 | 一本色道久久99一综合| 精品国产青草久久久久福利| 精品免费久久久久久久| 久久亚洲精品无码VA大香大香| 精品久久久久久国产牛牛app | 亚洲AV无码久久精品狠狠爱浪潮| 国产成人无码精品久久久免费| 久久精品无码一区二区无码| 伊人久久大香线蕉综合热线| 精品久久久久中文字| 精品熟女少妇av免费久久| 日日噜噜夜夜狠狠久久丁香五月| 免费精品久久天干天干| 狠狠色婷婷久久综合频道日韩 | 一本色道久久88综合日韩精品 | 日韩欧美亚洲综合久久影院Ds| 国内精品久久久久久久coent| 久久国产一区二区| 狠狠狠色丁香婷婷综合久久俺| 久久大香香蕉国产| 午夜精品久久久久久毛片| 日本人妻丰满熟妇久久久久久| 久久久久亚洲AV片无码下载蜜桃 | 精品久久久久久99人妻| 久久人人爽人人爽AV片| 四虎国产精品成人免费久久|