This package contains utility programs related to the GNU C Library. * getconf: query system configuration variables * getent: get entries from administrative databases * iconv, iconvconfig: convert between character encodings * ldd, ldconfig: print/configure shared library dependencies * locale, localedef: show/generate locale definitions * tzselect, zdump, zic: select/dump/compile time zones
getconf
Query system configuration variables (sysconf)
root@kali:~# getconf --help
Usage: getconf [-v SPEC] VAR
or: getconf [-v SPEC] PATH_VAR PATH
Get the configuration value for variable VAR, or for variable PATH_VAR
for path PATH. If SPEC is given, give values for compilation
environment SPEC.
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
getent
Get entries from Name Service Switch libraries
root@kali:~# getent --help
Usage: getent [OPTION...] database [key ...]
Get entries from administrative database.
-A, --no-addrconfig do not filter out unsupported IPv4/IPv6 addresses
(with ahosts*)
-i, --no-idn disable IDN encoding
-s, --service=CONFIG Service configuration to be used
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Supported databases:
ahosts ahostsv4 ahostsv6 aliases ethers group gshadow hosts initgroups
netgroup networks passwd protocols rpc services shadow
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
iconv
Convert text from one character encoding to another
root@kali:~# iconv --help
Usage: iconv [OPTION...] [FILE...]
Convert encoding of given files from one encoding to another.
Input/Output format specification:
-f, --from-code=NAME encoding of original text
-t, --to-code=NAME encoding for output
Information:
-l, --list list all known coded character sets
Output control:
-c omit invalid characters from output
-o, --output=FILE output file
-s, --silent suppress warnings
--verbose print progress information
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
iconvconfig
Create iconv module configuration cache
root@kali:~# iconvconfig --help
Usage: iconvconfig [OPTION...] [DIR...]
Create fastloading iconv module configuration file.
--nostdlib Do not search standard directories, only those on
the command line
-o, --output=FILE Put output in FILE instead of installed location
(--prefix does not apply to FILE)
--prefix=PATH Prefix used for all file accesses
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
ld.so
Dynamic linker/loader
root@kali:~# ld.so --help
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked 'ld.so', the program interpreter for dynamically-linked
ELF programs. Usually, the program interpreter is invoked automatically
when a dynamically-linked executable is started.
You may invoke the program interpreter program directly from the command
line to load and run an ELF executable file; this is like executing that
file itself, but always uses the program interpreter you invoked,
instead of the program interpreter specified in the executable file you
run. Invoking the program interpreter directly provides access to
additional diagnostics, and changing the dynamic linker behavior without
setting environment variables (which would be inherited by subprocesses).
--list list all dependencies and how they are resolved
--verify verify that given object really is a dynamically linked
object we can handle
--inhibit-cache Do not use /etc/ld.so.cache
--library-path PATH use given PATH instead of content of the environment
variable LD_LIBRARY_PATH
--glibc-hwcaps-prepend LIST
search glibc-hwcaps subdirectories in LIST
--glibc-hwcaps-mask LIST
only search built-in subdirectories if in LIST
--inhibit-rpath LIST ignore RUNPATH and RPATH information in object names
in LIST
--audit LIST use objects named in LIST as auditors
--preload LIST preload objects named in LIST
--argv0 STRING set argv[0] to STRING before running
--list-tunables list all tunables with minimum and maximum values
--list-diagnostics list diagnostics information
--help display this help and exit
--version output version information and exit
This program interpreter self-identifies as: /lib64/ld-linux-x86-64.so.2
Shared library search path:
(libraries located via /etc/ld.so.cache)
/lib/x86_64-linux-gnu (system search path)
/usr/lib/x86_64-linux-gnu (system search path)
/lib (system search path)
/usr/lib (system search path)
Subdirectories of glibc-hwcaps directories, in priority order:
x86-64-v4
x86-64-v3
x86-64-v2
ldconfig
Configure dynamic linker run-time bindings
root@kali:~# ldconfig --help
Usage: ldconfig [OPTION...]
Configure Dynamic Linker Run Time Bindings.
-c, --format=FORMAT Format to use: new (default), old, or compat
-C CACHE Use CACHE as cache file
-f CONF Use CONF as configuration file
-i, --ignore-aux-cache Ignore auxiliary cache file
-l Manually link individual libraries.
-n Only process directories specified on the command
line. Don't build cache.
-N Don't build cache
-p, --print-cache Print cache
-r ROOT Change to and use ROOT as root directory
-v, --verbose Generate verbose messages
-X Don't update symbolic links
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
ldd
Print shared object dependencies
root@kali:~# ldd --help
Usage: ldd [OPTION]... FILE...
--help print this help and exit
--version print version information and exit
-d, --data-relocs process data relocations
-r, --function-relocs process data and function relocations
-u, --unused print unused direct dependencies
-v, --verbose print all information
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
locale
Get locale-specific information
root@kali:~# locale --help
Usage: locale [OPTION...] NAME
or: locale [OPTION...] [-a|-m]
Get locale-specific information.
System information:
-a, --all-locales Write names of available locales
-m, --charmaps Write names of available charmaps
Modify output format:
-c, --category-name Write names of selected categories
-k, --keyword-name Write names of selected keywords
-v, --verbose Print more information
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
localedef
Compile locale definition files
root@kali:~# localedef --help
Usage: localedef [OPTION...] NAME
or: localedef [OPTION...] [--add-to-archive|--delete-from-archive] FILE...
or: localedef [OPTION...] --list-archive [FILE]
Compile locale specification
Input Files:
-f, --charmap=FILE Symbolic character names defined in FILE
-i, --inputfile=FILE Source definitions are found in FILE
-u, --repertoire-map=FILE FILE contains mapping from symbolic names to UCS4
values
Output control:
-c, --force Create output even if warning messages were issued
--no-hard-links Do not create hard links between installed
locales
--no-warnings=<warnings> Comma-separated list of warnings to disable;
supported warnings are: ascii, intcurrsym
--posix Strictly conform to POSIX
--prefix=PATH Optional output file prefix
--quiet Suppress warnings and information messages
-v, --verbose Print more messages
--warnings=<warnings> Comma-separated list of warnings to enable;
supported warnings are: ascii, intcurrsym
Archive control:
--add-to-archive Add locales named by parameters to archive
-A, --alias-file=FILE locale.alias file to consult when making archive
--big-endian Generate big-endian output
--delete-from-archive Remove locales named by parameters from archive
--list-archive List content of archive
--little-endian Generate little-endian output
--no-archive Don't add new data to archive
--replace Replace existing archive content
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
System's directory for character maps : /usr/share/i18n/charmaps
repertoire maps: /usr/share/i18n/repertoiremaps
locale path : /usr/lib/locale:/usr/share/i18n
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
pldd
Display dynamic shared objects linked into a process
root@kali:~# pldd --help
Usage: pldd [OPTION...] PID
List dynamic shared objects loaded into process.
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
tzselect
View timezones
root@kali:~# tzselect --help
Usage: tzselect [--version] [--help] [-c COORD] [-n LIMIT]
Select a timezone interactively.
Options:
-c COORD
Instead of asking for continent and then country and then city,
ask for selection from time zones whose largest cities
are closest to the location with geographical coordinates COORD.
COORD should use ISO 6709 notation, for example, '-c +4852+00220'
for Paris (in degrees and minutes, North and East), or
'-c -35-058' for Buenos Aires (in degrees, South and West).
-n LIMIT
Display at most LIMIT locations when -c is used (default 10).
--version
Output version information.
--help
Output this help.
Report bugs to <http://www.debian.org/Bugs/>.
zdump
Timezone dumper
root@kali:~# zdump --help
zdump: usage: zdump OPTIONS TIMEZONE ...
Options include:
-c [L,]U Start at year L (default -500), end before year U (default 2500)
-t [L,]U Start at time L, end before time U (in seconds since 1970)
-i List transitions briefly (format is experimental)
-v List transitions verbosely
-V List transitions a bit less verbosely
--help Output this help
--version Output version info
Report bugs to <http://www.debian.org/Bugs/>.
zic
Timezone compiler
root@kali:~# zic --help
zic: usage is zic [ --version ] [ --help ] [ -v ] \
[ -b {slim|fat} ] [ -d directory ] [ -l localtime ] [ -L leapseconds ] \
[ -p posixrules ] [ -r '[@lo][/@hi]' ] [ -R '@hi' ] \
[ -t localtime-link ] \
[ filename ... ]
Report bugs to <http://www.debian.org/Bugs/>.