Difference between revisions of "Ubuntu Server Utilities"

From rbachwiki
Jump to navigation Jump to search
(Created page with "== Linux DIG Command Examples for DNS Lookup == dig redhat.com - dns lookup dig redhat.com MX - mx records lookup dig redhat.com NS View ALL DNS Records Types Using dig -t...")
 
Line 1: Line 1:
== Linux DIG Command Examples for DNS Lookup ==
== Linux DIG Command Examples for DNS Lookup ==
<pre>
dig redhat.com - dns lookup
dig redhat.com - dns lookup


Line 17: Line 18:


dig @ns1.redhat.com redhat.com
dig @ns1.redhat.com redhat.com
</pre>
== Extract Images from PDF Files With PDFimages ==
<pre>
apt-get install poppler-utils
pdfimages --help for options
eg
pdfimages -j filename.pdf prefixforallfiles
if the image doesn't convert to jpg. then use the mogrify to convert them. mogrify is part of imagemagick
mogrify -format jpg *.pcm // this will convert all *.pcm files to jpg
</pre>

Revision as of 14:09, 8 August 2016

Linux DIG Command Examples for DNS Lookup

dig redhat.com - dns lookup

dig redhat.com  MX - mx records lookup

dig redhat.com NS

View ALL DNS Records Types Using dig -t ANY

dig -t ANY redhat.com

DNS Reverse Look-up Using dig -x

dig -x 209.132.183.81

Use a Specific DNS server Using dig @dnsserver

dig @ns1.redhat.com redhat.com

Extract Images from PDF Files With PDFimages

apt-get install poppler-utils

pdfimages --help for options

eg

pdfimages -j filename.pdf prefixforallfiles

if the image doesn't convert to jpg. then use the mogrify to convert them. mogrify is part of imagemagick

mogrify -format jpg *.pcm // this will convert all *.pcm files to jpg