10-23-2017
Please provide information on your attempts to resolve.
Until so, we will refrain from sharing any guidance.
The purpose of this Board is the assist users in solving their problems. We are not a coding service. Further, we are not a homework service - and sometimes posts appear to be an attempt to have someone solve a school assignment.
Finally, we urge all members of the Forum to NOT post a solution to this question until effort to resolve is demonstrated.
This User Gave Thanks to joeyg For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all,
I am reading a file that has 1 column. While reading I must find the line references from the another file. The following shell doesn't works.
Please help
#!/bin/bash
while read filename; do
grep ${filename} fs_full.dat >> unprocfull.dat;
done < unproc.dat
But when... (2 Replies)
Discussion started by: mr_bold
2 Replies
2. Shell Programming and Scripting
Hello! I think this should be an easy solution. I have a large file with many fields of data. The first field has a unique identifier (a subject number) for every record for a chunk of data. Something like this:
There were ten experimental conditions (ec), but the ec is identified by only... (11 Replies)
Discussion started by: ccox85
11 Replies
3. Shell Programming and Scripting
I have inherited the UNIX scripting duties for our team and have only been at this for a few months so I apologize for what may be a simple question.
We have a script we are reworking. Part of this script takes a parameter and reads a csv file. When it finds a matching line, the cut command is... (4 Replies)
Discussion started by: 15a0
4 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I would like to ask whether in Unix shell/perl have any functions or command to allow grep/cat/read a file inside compressed .tgz without extract it?
I know we can tar tvf a compressed tgz but this only allow we read the path/filename contained inside the tarball. If we want to read... (3 Replies)
Discussion started by: mayshy
3 Replies
5. UNIX for Dummies Questions & Answers
I have two files
file1.txt
angie
mary
susan
file2.txt
angie blond
mary brunnet
susan red
christine blackI want to get this output
angie blond
mary brunnet
susan redI write
grep --file=file1.txt file2.txtand i get no results
i also wrote
cat file1.txt|while read line... (19 Replies)
Discussion started by: FelipeAd
19 Replies
6. Shell Programming and Scripting
Hi Guys,
I have a small script which greps for the username reading from stdinput.
./file.sh pattern
pattern=$1
grep "blah blah.*$pattern" /home/user/log.txt
Instead of typing the pattern everytime i want to read the pattern from a file inside the shell script and execute the... (5 Replies)
Discussion started by: Irishboy24
5 Replies
7. Shell Programming and Scripting
Hi,
I'm trying to read a fille into a loop and grep for a string and print the last field of the string in the second file. Then redirect the output to another file but keeping the output in the same order as the original file.
I've tried using the following but the ouput from this does not... (3 Replies)
Discussion started by: elmesy
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a number of files containing the information below.
"""""
Fundallinfo
6.3950 14.9715 14.0482
"""""
I would like to grep for Fundallinfo and use it to read the next line? I ideally would like to read the three numbers that follow in the next line and... (2 Replies)
Discussion started by: Paul Moghadam
2 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
I am having a job and I need to send email when the job is running. On any other case (success,fail) I don't needed to send email. I check with BMC they told they dont have that in the version I am using.
So I created a dependent job and grepped for the status and sent email. My... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
10. UNIX for Advanced & Expert Users
I have a very big input file <inputFile1.txt> which has list of mobile no
inputFile1.txt
3434343
3434323
0970978
85233
... around 1 million records
i have another file as inputFile2.txt which has some log detail big file
inputFile2.txt
afjhjdhfkjdhfkd df h8983 3434343 | 3483 | myout1 |... (3 Replies)
Discussion started by: reldb
3 Replies
LEARN ABOUT DEBIAN
avahi-browse
avahi-browse(1) General Commands Manual avahi-browse(1)
NAME
avahi-browse - Browse for mDNS/DNS-SD services using the Avahi daemon
SYNOPSIS
avahi-browse [options] service-type
avahi-browse [options] --all
avahi-browse [options] --browse-domains
avahi-browse [options] --dump-db
avahi-browse-domains [options]
DESCRIPTION
Browse for mDNS/DNS-SD network services and browsing domains using the Avahi daemon.
OPTIONS
Specify a DNS-SD service type (e.g. _http._tcp) to browse for on the command line, or -a to browse for all available service types. Items
that appear on the network are prefixed with "+", items that disappear are prefixed with "-". If --resolve is passed items that are
resolved are prefixed with "=".
-a | --all
Browse for all service types registered on the LAN, not just the one specified on the command line.
-D | --browse-domains
Browse for browsing domains instead for services. avahi-browse-domains is equivalent to avahi-browse --browse-domains
-d | --domain= DOMAIN
Browse in the specified domain. If omitted avahi-browse will browse in the default browsing domain (usually .local)
-v | --verbose
Enable verbose mode.
-t | --terminate
Terminate after dumping a more or less complete list.
-c | --cache
Terminate after dumping all entries available in the cache.
-l | --ignore-local
Ignore local services, show only remote services.
-r | --resolve
Automatically resolve services found.
-f | --no-fail
Don't fail if the daemon is not found running. Instead, wait until it appears. If it disconnects, try to reconnect.
-p | --parsable
Make output easily parsable for usage in scripts. If enabled fields are separated by semicolons (;), service names are escaped. It
is recommended to combine this with --no-db-lookup.
-k | --no-db-lookup
Don't lookup services types in service type database.
-b | --dump-db
Dump the service type database (may be combined with -k)
-h | --help
Show help.
-V | --version
Show version information.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO
avahi-publish(1), avahi-resolve(1), avahi-daemon(8)
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-browse(1)