• ldd查询命令或软件共享的函数库(动态)


    <1>

    ldd - print shared library dependencies

    SYNOPSIS
    ldd [OPTION]... FILE...

    DESCRIPTION
    ldd prints the shared libraries required by each program or shared library speci-
    fied on the command line.

    eg:

    测试ldd命令sshd和httpd两个程序是否支持TCP Wrappers的功能?

    [root@slave1 xinetd.d]# ldd $(which sshd httpd)|grep libwrap.so -B 100
    /usr/sbin/sshd:
    linux-vdso.so.1 => (0x00007fff02dff000)
    libfipscheck.so.1 => /lib64/libfipscheck.so.1 (0x00007f6966e7e000)
    libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f6966c73000)       //sshd支持/etc/hosts.{allow,deny}类似防火墙的低档机制的,因为TCP Wrappers是用的这个库最该文件起作用的.

  • 相关阅读:
    C++ 日期 & 时间
    C++ 引用
    C++ 指针
    C++ 字符串
    C++ 数组
    C++ 数字
    C++ 函数
    C++ 判断
    C++ 循环
    C++ 运算符
  • 原文地址:https://www.cnblogs.com/itcomputer/p/4641213.html
Copyright © 2020-2023  润新知