Ubuntu :: Multiple File Search \ Search A File For A Certain Keyword?

Nov 13, 2010

for example we search a file for a certain keyword..is there any application available which will enable us to search for a single keyword in all the files within the folder ?i want to search for a keyword in about 1000 files..if i do it manually it will take loads of time..

View 6 Replies


ADVERTISEMENT

Ubuntu :: Search For Multiple File Extensions At Once In Gnome

Jan 1, 2010

Does anyone know of a way to perform a search for multiple file extensions at once in Gnome? I know that M$ Windows Explorer had this capability, but I'm just not sure how to do it in Gnome, or if it's possible. I just want to be able to perform searches for Video, Music, and Document file types, without having to perform a separate search for each file extension. Example: When doing a search for Video file types (.avi,.mp4,.mov,.wma, etc.), I would like to do one search for all files that have these file extensions, instead of doing one search for .avi files, a second search for .mp4 files, another for .mov files, etc.

View 8 Replies View Related

General :: Search For A File In Multiple Machines Simultaniously?

Sep 15, 2010

Im new to the forum and fairly new to Linux as well. my apologies if this is posted in the wrong section. My problem is How can you search for a file in multiple machines (like a server farm) ? For example i log onto machine num1 and want to search for a file named "xxx.yyy" which may be in one of 4 machnies. What i do right now is manually log into each machine and run the find command. However i have heard that it is possible to do it via a couple of simple commands. I have looked into pssh and cssh as well as ssh tunneling (along with public key authentication to stop the machines requesting a password every time i log in) and unfortunately i was unable to find an answer.

View 4 Replies View Related

General :: Given A File Path Search For File Exist?

Jan 27, 2011

I have file which consists of many files with their path,i need to check for the file exists in the given path,how to check?

View 12 Replies View Related

Ubuntu :: ISO File Search App?

Jun 15, 2011

For some reason Ubuntu's built-in file search app doesn't find the file I'm looking for sometimes. My 10.10 build has been running excellently for some time now and haven't experienced any problems but this is a wierd one. If I use another app like Catfish it usually finds the sought file, but sometimes it gives a fatal error and stops working. Others have had this problem with Catfish, too, so I'm looking for another reliable file or folder search app. I've went thru what I could find in the Software Center but haven't found anything really good. I need an app that'll search for hidden files or folders on the whole PC

View 5 Replies View Related

Ubuntu :: Grep Can't Search Pdf File?

Jun 2, 2010

i want to search some key words in some pdf files grep myword ~/test.pdf that command can't work! grep command can't search pdf file??

View 1 Replies View Related

OpenSUSE :: How To Search For A File In 11.2?

Feb 26, 2010

When i type in a key word of a file that is certainly on my computer, no results are returned. I remember a while back a certain symbol had to be enetered in order to do the search.

Code:
Could not launch the KDE Help Center:
KDEInit could not launch 'susehelp'.:

[code]...

View 2 Replies View Related

Programming :: How To Search For A File?

Feb 3, 2010

How to search for a file? I am looking for a file in a directory /shared/domain...This also contains many sub directories..I need a script which will let me know the location of my log file myapps.log.what is the script ?Can it be made in one line ...because I just want to run ...don't want to save the script.

View 14 Replies View Related

Ubuntu :: File Search On Home Folder?

Jul 11, 2010

I can't search file in another folder other than the home folder. Like when I try to search in my mounted NTFS drive, it only shows and only searches my home folder, not the current open folder in mounted drive. I also have installed "Beagle Search" to index my data and reduce time searching,

View 2 Replies View Related

Ubuntu :: File Search Index Build?

Nov 7, 2010

I noticed that Ubuntu takes some time in building the file search index. It seems to do it overnight while my PC is powered down )Is there a way to build the index by a command so that I could do searches whenever I wanted, specially immediately after installing a new program?

View 4 Replies View Related

Ubuntu :: Search In A Log File Via Command Line ?

Jun 3, 2011

I have some large log files that I would like to search for a specific text via command line in the file. I know I can open the file in GUI but is there command that I can run against the file path then make it search in the file in command line?

View 7 Replies View Related

General :: How To Search File At Server

Jul 16, 2010

1. i want to make backup database(use mysqldump)

2. copy from server(use linux-server) to client PC (use linux- ubuntu 9.0)..

3. before that i want to search that DB file using terminal..

4. bcoz i dont know where the files are located

View 2 Replies View Related

General :: Search For An Element In File

Jul 27, 2009

I have a doubt, i have a file which contains around 3000 elements, now i want to search for an element in that file.what will be the Efficient way of searching ? without consuming much memory and time..

1) is this efficient if i take all the 3000 elements from file to a list or array and sort them and search ?
2) or is it efficient to search directly inside the file ??
Can anyone please suggest some algorithms for an efficient way to search in this case ?I am using C for coding..

View 14 Replies View Related

Software :: File Search Program

Feb 4, 2009

I have an issue searching for files on my linux system - I cant do it.I have tried whereis, and locate, and even catfish...which sucks. I just want to pick a folder, right click, and search it for what I want... like we would in BillBlows XP. Is there a program that will do that? Or perhaps a file commander?

View 5 Replies View Related

Software :: Search Through File Signature

Jun 14, 2010

Here you can find the file signature table:http://www.garykessler.net/library/file_sigs.html
Is there any way for me to search through files for a file signature in HEX format?

View 3 Replies View Related

Programming :: Recursive Search In A Tar.bz2 File?

Jul 14, 2011

I am looking for a one liner to search for a string in file(s) which are in a tar ball (.tar.bz2 in my case)

Code:
-bash-3.2$ tar -tjf /var/log/ABC/07142011-1412.tar.bz2
var/log/ABC/07142011-1412/
var/log/ABC/07142011-1412/live_hosts.txt
var/log/ABC/07142011-1412/all_hosts.txt
var/log/ABC/07142011-1412/LOGS.txt

How can I recursively look inside all the txt files in this tar file ?

View 10 Replies View Related

Ubuntu :: Search Based On Nautilus File Type?

Aug 10, 2010

Is there any application that will let me restrict search results, by, for example, whether it is a plain text document or a jpeg image (not by extension, but the same way nautilus knows if something is a jpeg even if it doesn't have an extension)?It would be nice to have an easy way to search for, e.g., just images, just videos, or just music without relying on file extensions.

View 1 Replies View Related

Ubuntu :: Search For File Modified At Specific Time

Aug 20, 2010

How do you find a file modified March 17, 2010, between 3:30 pm and 4:05 pm? I know that I must be missing something somewhere.How do you search for info like this? I goggled "search files time Linux" and got about 38,300,000 results. I looked through the first four pages and did not see what I was looking for.Do I need to calculate how many minutes ago that is and give that to find.I really want to do this in the GUI so that I can operate on the files found without typing in so much stuff.

View 1 Replies View Related

Ubuntu :: Removing A Directory From The File Search Menu?

Sep 9, 2010

When I search using Places -> Search for Files..., there is an extra directory that shows up in the "Look in folder:" menu. This directory (jim) is unwanted and doesn't appear in the general Gnome menus (such as Places). The attached image of a screenshot shows what I mean.

I cannot figure out how to remove it in the search menu. Perhaps it was put there because I frequently search in that directory. Whatever the case, I'd like to get rid of it. I understand that this isn't the biggest computer problem ever posted in a forum. Nonetheless, I'd really like to hear how to remove that blasted directory.

View 2 Replies View Related

General :: Search For A String In A Php File Using `grep`?

Jan 19, 2010

I am searching for Class declaration on a site with hundreds of PHP files, how can I do this in the current folder and subfolders using GREP?

I tested cding to the folder and then something like

grep -r 'class MyClass' *.php

View 5 Replies View Related

Programming :: Search And Replace In A Binary File?

Aug 11, 2010

i need to change a binary file, let's say to find and replace username:

find string: "/home/name/bla-bla-bla/ "
new string: "/home/anewname/bla-bla-bla/ "

i can do it, for example, in emacs (hexl-mode), but interesting in writing a script instead. it will be much more better for me if i could do it automatically. is there an analog of: sed 's/string1/string2/g' ? P.S. the best way is to recompile the binary files i have, but there are no sources available.

View 5 Replies View Related

General :: Bash Script Search File

Dec 19, 2010

total newb here. call me a script kiddie if you want but here is what i need to do and what i have.

need to:search a hidden log file for a specific string, find what comes after that part, and then output the result to a variable or something that can be used by an application or other script to carry out further actions.

View 3 Replies View Related

General :: How To Search Logs Between Two Timestamps In Log File?

Nov 19, 2009

The requirement was to write a shell script for a cron job set for every two hours for all days.The Script has to scan log files (*.log) for the logs posted only for the last two hours.... and append them in a new file...I am clueless abt how to scan/compare based on time stamp seen in above logs.

View 2 Replies View Related

General :: Locate Cmd Couldn't Search File

Jul 7, 2010

I used locate cmd to search file abc.txt (for example) as I didn't know in which directory it would be present and couldn't find it. But when I did find . -name abc.txt, it traced the file, luckily the file was in the same directory. I am wondering how find was able to search abc.txt and locate not. How these two are behavinb differently? Usually I use locate when I don't know the path to the parent dir.

View 8 Replies View Related

General :: Search Within A Log File Within A Time Range

Jun 24, 2011

I want to search in my apache log, for events which have occurred say between 11:00 AM to 2:00 PM. I have got few scripts/commands but they are not conclusive, some of then are trying to do an exact match(awk) and for some i am just getting the pattern wrong (eGrep)

I am running RHEL.

Apache log eg:
================================================================
10.92.120.129 - - [24/Jun/2011:01:29:07 -0500] "GET /favicon.ico HTTP/1.1" 302
================================================================

now if i want to find out the logs from 1 PM to 2 PM

some example i had was:

cat <apache.log> | grep -E '07/Apr/20110[1-2]:[0-5][0-9]|02:00)'

small script in which i can pass the start time and end time range, and it should give an output of the rows which fall under that time range.

View 5 Replies View Related

Programming :: C++ Character Search In Text File?

Jun 23, 2011

Im trying to read a file in c++ and search for particular character for example if this is a list that I have:

Alice
Bob
David

[code]....

if the input is D, it should give David, if its B, gives bob. so in this case, meaning it reads the first character of every line. but if possible I want to make this dynamic so the user can specify which character position he is looking for, so in case he is looking for R as character index 3 in all lines, it should give Charlie. but the problem is, it does now recognize , besides, I do not know how to specify the character position in each line.

here is my code

Code:

#include <iostream>
#include <fstream>
#include <cstring>

[code]....

View 1 Replies View Related

Programming :: Search For Ip Address In File And Remove It

Sep 22, 2009

I have a lot of files in the server with name like checkfile.jsp and in the file has two or three lines with an ip address xxx.xxx.xxx in it. I wish to know if there any command to grep for the i p address and remove itin file but keep the " ", eg "xxx.xxx.xxx"

View 9 Replies View Related

Slackware :: New Site To Search Packages Containing A File

Mar 7, 2010

I wrote a small site to search slackware packages containing a wanted file.slak.homelinux.org..It do searches in official slackware repositories and some non official.It is based on PACKAGES.TXT, so all repositories containing it can be used.If a repository contain even the MANIFEST.bz2 file, then this tool can search packages from its content.Results are cliccable link so to download the package directly.

View 14 Replies View Related

General :: Ubuntu - Search Text In Files And Display File Name?

Mar 30, 2011

I am using find some_dir -name "*.some_ext" | xargs -l10 grep "some_expr"

to find files in folder, but I just want to display the file name but not all file content. Any solution?

View 2 Replies View Related

Ubuntu :: Only Search For Similar Case Sensitive File Names?

Jan 22, 2010

Anybody know of a way to search only for similar case sensitive files? By which I mean doing a wildcard search across a drive & the only results are like: Abc.txt abc.txt VID_001.avi Vid_001.AVI .. etc.

I've already tried searching the forums & google but the closest I've found is regarding files with increasing numbers (music_001.mp3, music_002.mp3, etc), which doesn't quite fit with my issue, as they would be seen as different files on a case insensitive OS.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved