• <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++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            linux命令strings

            Posted on 2009-07-22 15:32 Prayer 閱讀(18957) 評(píng)論(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 顯示 每個(gè) 指定的 file 文件里 包含的 所有 有 4個(gè) (或者 用 選項(xiàng) 指定 的 數(shù)字) 以 上
                   連 續(xù) 可打印 字符 的字符串, 在 之后 緊跟著 一個(gè) 不可 打印 的 字符. 默認(rèn) 情況 下, 它 只顯示 目標(biāo)文件 初始化 和 裝載
                   段 的 字符串; 對(duì)于 其它 類型 的 文件 它 顯示 整個(gè) 文件 里包含 的 所有 字符串.

                   strings 一般 用來(lái) 查看 非 文本 文件 的 內(nèi)容.

            選項(xiàng) (OPTIONS)
                   在 這里 并列 的 長(zhǎng)選項(xiàng) 和 短選項(xiàng) 都是 等價(jià)的.

                   -a

                   --all

                   -      不 只是 掃描 目標(biāo) 文件 初始化 和 裝載 段, 而是 掃描 整個(gè) 文件.

                   -f

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

                   --help 在 標(biāo)準(zhǔn) 輸出 打印 strings 命令 的 選項(xiàng)

                          列表

                          然后 退出.
               -v

                   --version
                          在 標(biāo)準(zhǔn) 輸出 打印 strings 命令 的 版本號(hào) 然后 退出.

                   -n min-len

                   -min-len

                   -bytes=min-len
                          打印 至少 min-len 字符 長(zhǎng) 的 字符串. 默認(rèn)的 是 4.

                   -t {o,x,d}

                   --radix={o,x,d}
                          在 字符串 前面 顯示 其在 文件 中 的 偏移量. 選項(xiàng) 中 的 單個(gè) 字符 指定 偏移量的 進(jìn)制 是 八進(jìn)制, 十六進(jìn)制 還
                          是 十進(jìn)制.

                   --target=bfdname
                          指定 一種 目標(biāo) 代碼 格式 來(lái) 代替 你的 系統(tǒng)的 默認(rèn) 格式. 關(guān)于 可用的 目標(biāo) 代碼格式 請(qǐ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ǎng)度),通常用來(lái)查看非文本文件(如二進(jìn)制可執(zhí)行文件)中的可讀內(nèi)容。比如:

            [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

            久久综合给合综合久久| 久久精品人人槡人妻人人玩AV| 狠狠色丁香久久婷婷综合蜜芽五月 | 亚洲精品无码专区久久久| 精品久久久久久久中文字幕 | 中文无码久久精品| 女人高潮久久久叫人喷水| 久久香蕉一级毛片| 久久精品aⅴ无码中文字字幕重口 久久精品a亚洲国产v高清不卡 | 伊人色综合久久天天人手人婷 | 亚洲精品无码成人片久久| 国产精品久久久久久五月尺| 五月丁香综合激情六月久久 | 久久久久亚洲AV无码专区体验| 伊人久久精品影院| 18禁黄久久久AAA片| 国内精品综合久久久40p| 国产91色综合久久免费分享| 久久艹国产| 成人久久综合网| yy6080久久| yellow中文字幕久久网| 亚洲国产精品久久久天堂| 色综合久久综精品| 国内精品九九久久精品| 99久久精品国产毛片| 中文字幕无码久久人妻| 99热成人精品免费久久| 伊色综合久久之综合久久| 久久久精品人妻一区二区三区蜜桃| 久久久久亚洲AV片无码下载蜜桃| 久久99热精品| 成人综合久久精品色婷婷 | 久久99国产精品久久99| 亚洲а∨天堂久久精品9966| 精品久久人人爽天天玩人人妻| 久久国产精品无码一区二区三区| 国产精品99久久久久久猫咪| 国产69精品久久久久9999APGF| 精品久久久久久无码中文字幕一区| 免费国产99久久久香蕉|