11-09-2011
"This command is not working" is a useless answer for anybody who tries to help you. Show some effort and supply at least an error message.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
I have a file in which a word is repeated more than one time and I want to know how many times it is repeated.
ex: if i repeated word 'guru' in 10 lines I can get the o/p as:
cat filename | grep -c 'guru'.
How ever if the word is repeated more than one time, then how can I... (4 Replies)
Discussion started by: gurukottur
4 Replies
2. Shell Programming and Scripting
Hi all,
I have a file with lines written somewhat like this.
aaaa
ccc
aa
linux
browse = no
xssxw
cdcedc
dcsdcd
csdw
police
dwed
dwd
browse = no
cdecec (2 Replies)
Discussion started by: vikas027
2 Replies
3. Shell Programming and Scripting
Hello,
I'm looking for a wait to count the number of occurrences of a certain string of characters within a file. The file that I trying to parce has segments within the file that have a header and footer to each segment and I'm trying to do a count of the header string and compare it to a count... (9 Replies)
Discussion started by: bd_joy
9 Replies
4. Shell Programming and Scripting
Hi ALL,
I want to search one string “20 “ i.e 20 with space.
But my file where I am searching this “20 “ contain some data like
120 before image file truncated
220 Reports section succeeded
20 Transaction database .prd stopped
220 Reports section completed.
When I search for the... (5 Replies)
Discussion started by: Jeevan Salunke
5 Replies
5. Shell Programming and Scripting
Hi,
I had a input file containing,
abcdefghij;20100903040607;1234567891;GLOBAL;
abc123;20100903040607;12345;09;thestdf;
def456;20100903040607;67891;04;bnkim;
I need to search word GLOBAL in my file.
If it is found then
do something
else
do other thing
How can i write if loop for... (13 Replies)
Discussion started by: Poonamol
13 Replies
6. UNIX for Dummies Questions & Answers
I plan to use sed in a script to replace a string. My problem is the last 6 characters of the word to be replaced can be different each time, plus it's not always in the same spot on the line so I can't use cut or nawk to get the field. So I am looking for a way to find a certain word in a file,... (6 Replies)
Discussion started by: mikayla73
6 Replies
7. Shell Programming and Scripting
Hello,
I have several xml files from which I want to find and return a particular string
I want to locate the InId="00000008". Now that is inlcuded within a tag and ofcourse the number is different every time
this is what I came up with given that after greping the line that contains the... (6 Replies)
Discussion started by: TasosARISFC
6 Replies
8. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
9. UNIX for Dummies Questions & Answers
Hi all
I am working on disallowing users to use easy passwords in pam.d setting on RHEL 5.7 and SuSe 11, and I was hoping to add more words into the current cracklib dict, so I use "echo" command to append new words into the file
I dont want to add the same words into the dict, I think I... (2 Replies)
Discussion started by: hedkandi
2 Replies
10. Shell Programming and Scripting
With any cmd like sed grep ask etc... (1 Reply)
Discussion started by: sidpatil
1 Replies
LEARN ABOUT FREEBSD
unbound
unbound(8) unbound 1.5.1 unbound(8)
NAME
unbound - Unbound DNS validating resolver 1.5.1.
SYNOPSIS
unbound [-h] [-d] [-v] [-c cfgfile]
DESCRIPTION
Unbound is a caching DNS resolver.
It uses a built in list of authoritative nameservers for the root zone (.), the so called root hints. On receiving a DNS query it will ask
the root nameservers for an answer and will in almost all cases receive a delegation to a top level domain (TLD) authoritative nameserver.
It will then ask that nameserver for an answer. It will recursively continue until an answer is found or no answer is available (NXDO-
MAIN). For performance and efficiency reasons that answer is cached for a certain time (the answer's time-to-live or TTL). A second query
for the same name will then be answered from the cache. Unbound can also do DNSSEC validation.
To use a locally running Unbound for resolving put
nameserver 127.0.0.1
into resolv.conf(5).
If authoritative DNS is needed as well using nsd(8), careful setup is required because authoritative nameservers and resolvers are using
the same port number (53).
The available options are:
-h Show the version and commandline option help.
-c cfgfile
Set the config file with settings for unbound to read instead of reading the file at the default location,
/var/unbound/unbound.conf. The syntax is described in unbound.conf(5).
-d Debug flag: do not fork into the background, but stay attached to the console. This flag will also delay writing to the log file
until the thread-spawn time, so that most config and setup errors appear on stderr. If given twice or more, logging does not switch
to the log file or to syslog, but the log messages are printed to stderr all the time.
-v Increase verbosity. If given multiple times, more information is logged. This is in addition to the verbosity (if any) from the
config file.
SEE ALSO
unbound.conf(5), unbound-checkconf(8), nsd(8).
AUTHORS
Unbound developers are mentioned in the CREDITS file in the distribution.
NLnet Labs Dec 8, 2014 unbound(8)