Recursively list Sub-Directories in Linux # ls -rįbcmd_update.php Documents anaconda-ks.cfg The following command with the ls -r option display files and directories in reverse order. # ls -FĪnaconda-ks.cfg Documents/ fbcmd_update.php install.log Using the -F option with the ls command will add the '/' character at the end of each directory. List Files and Directories with ‘/’ Character at the End 2 root root 4.0K Jul 31 02:48 Templatesĭrwxr-xr-x. 2 root root 4.0K Jul 31 02:48 Publicĭrwxr-xr-x. 2 root root 4.0K Jul 31 02:48 Picturesĭrwxr-xr-x. 1 root root 21K Aug 12 12:42 fbcmd_update.php 2 root root 4.0K Jul 31 02:48 Documentsĭrwxr-xr-x. 2 root root 4.0K Jul 31 02:48 Desktopĭrwxr-xr-x. 1 root root 1.6K Jul 31 02:17 anaconda-ks.cfgĭrwxr-xr-x. With a combination of -lh option, shows sizes in a human-readable format. List all files including hidden files starting with ‘. 2 root root 4096 Jul 31 02:48 Templatesĭrwxr-xr-x. 1 root root 21262 Aug 12 12:42 fbcmd_update.php 2 root root 4096 Jul 31 02:48 Documentsĭrwxr-xr-x. This package provides various utilities that are useful for maintaining a working BIND installation.Here, ls -l ( -l is a character, not one) shows file or directory, size, modified date and time, file or folder name and owner of the file, and its permission. You can use aptitude show pkgname or dpkg -version pkgname aptitude show bind9utilsĭepends: libbind9-80, libc6 (>= 2.14), libdns81, libisc83, libisccc80, libisccfg82 : tools for verifying that the DNS server is operating properly. : (routines for applications to use when interfacing with DNS) and : which resolves host names to IP addresses a resolver library Summary : The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serverĭescription: BIND (Berkeley Internet Name Domain) is an implementation of the DNS Loading mirror speeds from cached hostfile Loaded plugins: downloadonly, fastestmirror, security You can use yum info packagename or if it installed then use rpm -version packagename ~]# yum info bind97 There is NO WARRANTY, to the extent permitted by law.Īlso you can use yum or aptitude based on distro you are using This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later. You can use ldconfig -v | grep libraryname ,Īlso command has option command -V or binaryfile -versionĬopyright (C) 2011 Free Software Foundation, Inc. Or you can rely on the program itself or your packaging system, as Rahul Patil wrote. If you simply want to get the library version, you can play with: readelf -d /path/to/library.so |grep SONAMEĪFAIK, there's no such info (at least not by default) in executable files. Where elffile can be either an library of an executable. If you want to verify, what exactly is in which ELF file, you can try to run: readelf -a -W elffile When you link a program against this library, the linked program will store the soname of the library under NEEDED entry in the dynamic section. In the library file libtest.so.1.0.1, there will be an entry called SONAME in dynamic section, that will say this library is called libtest.so.1. libtest.so - Symlink to libtest.so.1 used for linking.libtest.so.1 - Symlink to libtest.so.1.0.1, having the same name as soname.libtest.so.1.0.1 - The library file itself, containing the full version.If you have library, say libtest.so, then you usually have: The full version is usually stored as a part of the library file name. What you have in there is the name of the library, the soname, which includes the major version. The version info in not explicitly stored in an ELF file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |