
dig | 121
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
-3, --easy-only
Create an ed script to incorporate into file1 unmerged,
nonoverlapping differences between file1 and file3.
-a, --text
Treat files as text.
-A, --show-all
Create an ed script to incorporate all changes, showing
conflicts in bracketed format.
-e, --ed
Create an ed script to incorporate into file1 all unmerged
differences between file2 and file3.
-E, --show-overlap
Create an ed script to incorporate unmerged changes, showing
conflicts in bracketed format.
-x, --overlap-only
Create an ed script to incorporate into file1 all differences
where all three files differ (overlapping changes).
-X Same as -x, but show only overlapping changes, in bracketed
format.
-m, --merge
Create file with changes merged (not an ed script).
-L label, --label=label
Use label to replace filename in output.
-i Append the w (save) and q (quit) commands to ed script
output.
-T, --initial-tab
To line tabs up properly in output, begin lines with a tab
instead of two spaces.
-v, --version
Print version information and then exit.
dig
dig [@server] [options] [name] [type] [class] [query-options]
dig @server name type
dig -h
The dig command is used to query DNS servers; it is more flexible
than the deprecated nslookup command. When invoked with just
the -h option, it displays a list of options ...