makedbm(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

makedbm(8)

System Administration Commands                                      makedbm(8)



NAME
       makedbm - make a dbm file, or get a text file from a dbm file

SYNOPSIS
       makedbm [-b] [-l] [-s] [-E] [-i yp_input_file]
            [-o yp_output_name] [-d yp_domain_name]
            [-m yp_master_name] [-S delimiter]
            [-D number_of_delimiters] infile outfile


       makedbm [-u dbmfilename]

DESCRIPTION
       The makedbm utility takes the infile and converts it to a pair of files
       in ndbm format (see ndbm(3C)), namely outfile.pag and outfile.dir. Each
       line of the input file is converted to a single dbm record. All charac‐
       ters up to the first TAB or SPACE form the key, and  the  rest  of  the
       line  is  the  data.  If a line ends with '\' (backslash), the data for
       that record is continued on to the next line. makedbm  does  not  treat
       '#' (pound-sign) as a special character.


       Because makedbm is mainly used in generating dbm files for the NIS name
       service, it generates a special entry with  the  key  yp_last_modified,
       which  is  the  date of infile (or the current time, if infile is '−').
       The entries that have keys with the prefix yp_ are interpreted  by  NIS
       server utilities.

OPTIONS
       The following options are supported:

       -b                         Insert  the  YP_INTERDOMAIN into the output.
                                  This key causes ypserv(8)  to  use  DNS  for
                                  host  name and address lookups for hosts not
                                  found in the maps.


       -d yp_domain_name          Create  a  special  entry   with   the   key
                                  yp_domain_name.


       -D number_of delimiters    Specify  number_of_delimiters to skip before
                                  forming the key.


       -E                         Delimiters are escaped.


       -i yp_input_file           Create  a  special  entry   with   the   key
                                  yp_input_file.


       -l                         Lowercase. Convert the keys of the given map
                                  to lowercase, so  that,  for  example,  host
                                  name  matches  succeed  independent  of case
                                  distinctions.


       -m yp_master_name          Create a special entry with the key  yp_mas‐
                                  ter_name.  If  no master host name is speci‐
                                  fied, yp_master_name is  set  to  the  local
                                  host name.


       -o yp_output_name          Create  a special entry with the key yp_out‐
                                  put_name.


       -s                         Secure map. Accept connections  from  secure
                                  NIS networks only.


       -S delimiter               Specify  the delimiter to use instead of the
                                  default delimiter for forming the key.


       -u dbmfilename             Undo a dbm file. Prints out the file in text
                                  format,  one  entry  per line, with a single
                                  space separating keys from values.


OPERANDS
       The following operands are supported:

       infile     Input file for makedbm. If infile is '−' (dash),  the  stan‐
                  dard input is read.


       outfile    One of two output files in ndbm format: outfile.pag and out‐
                  file.dir.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       ndbm(3C), attributes(7), ypserv(8)



Oracle Solaris 11.4               11 May 2021                       makedbm(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3