Hi,
I have a config_file.cfg with the content:
FILE_ID_1=1
FILE_FTP_ID_1=<FTP_SERVER1.COM>
....
FILE_ID_2=2
FILE_FTP_ID_2=<FTP_SERVER2.COM>
....
so on for 28 times.
As you might have guessed it; the script I have to write is to read this config file and get the FTP server... (3 Replies)
I am a newbie and would like some help with the following -
Trying to search fileA for a string similar to -
AS11000022010 30.4 31.7 43.7 53.8 60.5 71.1 75.2 74.7 66.9 56.6 42.7 32.5 53.3
I then want to replace that string with a string from fileB - ... (5 Replies)
Hi to all,
I got this content/pattern from file http.log.20110808.gz
mail1 httpd: Account Notice: close igchung@abc.com 2011/8/7 7:37:36 0:00:03 0 0 1
mail1 httpd: Account Information: login sastria9@abc.com proxy sid=gFp4DLm5HnU
mail1 httpd: Account Notice: close sastria9@abc.com... (16 Replies)
hi everyone,
im stuck in here with shell :) can you help me??
i have a directory with alot files (genbank files ... all ended in .gbk ) more than 1000 for sure ... and i want to read each one of them and search for some information and if i found the right one i save in new file with new... (6 Replies)
Hi ,
I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code.
my $current_value=12345;
my @users=("bob","ben","tom","harry");
open DBLIST,"<","/var/tmp/DBinfo";
my @input = <DBLIST>;
foreach (@users)
{
my... (11 Replies)
I have a flat file that looks like this, let's call it Chromosome_9.txt:
FT /Gene_Name="Guanyl-Acetylase 9"
FT /Gene_Number"36952"
FT /Gene_Name="Endoplasmic Luciferase"
FT /Gene_Number"36953"
FT ... (4 Replies)
Is there a single Command in Unix to get the following Information when searching for files containing one or more strings in a Unix Directory (including sub directories within it) :
1) Complete filename ( path and filename)
2) Owner of the file
3) Size of the file
4) Last Modified date... (3 Replies)
I have two files:
file 1:
hello.com neo.com,japan.com,example.com
news.net xyz.com, telecom.net, highlands.net, software.com
example2.com earth.net, abc.gov.uk
file 2:
neo.com
example.com
abc.gov.uk
file 2 are the search keys to search in file 1 if any of the search... (7 Replies)
I'm trying to find a way to search a range of similar words in a file. I tried using sed but can't get it right:sed 's/\(ca01\)*//'It only removes "ca01" but leaves the rest of the word. I still want the rest of the information on the lines just not these specific words listed below. Any... (3 Replies)
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Discussion started by: An0mander
2 Replies
LEARN ABOUT CENTOS
tracker-search
tracker-search(1) User Commands tracker-search(1)NAME
tracker-search - Search all content for keywords
SYNOPSIS
tracker-search [OPTION...] EXPRESSION [EXPRESSION...]
DESCRIPTION
tracker-search searches all indexed content for EXPRESSION. The resource in which EXPRESSION matches must exist (see --all for more infor-
mation). All results are returned in ascending order. In all cases, if no EXPRESSION is given for an argument (like --folders for example)
then ALL items in that category are returned instead.
EXPRESSION
One or more terms to search. The default operation is a logical AND. For logical OR operations, see -r.
OPTIONS
-?, --help-all
Display all help options available.
-l, --limit=N
Limit search to N results. The default is 10 or 512 with --disable-snippets.
-o, --offset=N
Offset the search results by N. For example, start at item number 10 in the results. The default is 0.
-r, --or-operator
Use OR for search terms instead of AND (the default)
-d, --detailed
Show the unique URN associated with each search result. This does not apply to --music-albums and --music-artists.
-a, --all
Show results which might not be available. This might bebecause a removable media is not mounted for example. Without this option,
resources are only shown if they exist. This option applies to all command line switches except
--disable-snippets
Results are shown with snippets. Snippets are context around the word that was searched for in the first place. This gives some idea
of if the resource found is the right one. Snippets require Full Text Search to be compile time enabled AND to not be disabled with
--disable-fts. Using --disable-snippets only shows the resources which matched, no context is provided about where the match
occurred.
--disable-fts
If Full Text Search (FTS) is available, this option allows it to be disabled for one off searches. This returns results slightly
using particular properties to match the search terms (like nie:title) instead of looking for the search terms amongst ALL proper-
ties. It is more limiting to do this, but sometimes searching without FTS can yield better results if the FTS ranking is off.
--disable-color
This disables any ANSI color use on the command line. By default this is enabled to make it easier to see results. --music-albums
and --music-artists.
-f, --files
Search for files of any type matching EXPRESSION (optional).
-s, --folders
Search for folders matching EXPRESSION (optional).
-m, --music
Search for music files matching EXPRESSION (optional).
--music-albums
Search for music albums matching EXPRESSION (optional).
--music-artists
Search for music artists matching EXPRESSION (optional).
-i, --images
Search for images matching EXPRESSION (optional).
-v, --videos
Search for videos matching EXPRESSION (optional).
-t, --documents
Search for documents matching EXPRESSION (optional).
-e, --emails
Search for emails matching EXPRESSION (optional). Returns a list of subjects for emails found.
-c, --contacts
Search for contacts matching EXPRESSION (optional). Returns a list of names and email addresses found.
--software
Search for software installed matching EXPRESSION (optional). Returns a list of desktop files and application titles found.
--software-categories
Search for software categories matching EXPRESSION (optional). Returns a list of urns and their categories (e.g. Settings, Video,
Utility, etc).
--feeds
Search through RSS feed information matching EXPRESSION (optional). Returns a list of those found.
-b, --bookmarks
Search through bookmarks matching EXPRESSION (optional). Returns a list titles and links for each bookmark found.
-V, --version
Print version.
SEE ALSO tracker-store(1), tracker-stats(1), tracker-tag(1), tracker-info(1).
GNU July 2009 tracker-search(1)