1
vote
2answers
28 views

bzgrep -H pattern file.bz2 gives no filename, but “standard input”

I thought -H always should print filename before matched line. this is true for grep, but not for bzgrep: $ grep -H pattern file1 file1: data pattern data $ bzgrep -H pattern file2.bz2 (standard ...
0
votes
0answers
137 views

Vuze default meta search template missing or broken?

Old versions of Vuze have worked on this computer, on this network, fine, up to just the other day -- until a clean install of Linux. Vuze 5.2.0.0 has a good connection: Pausing downloads before ...
1
vote
1answer
201 views

Replacing Windows 7's desktop search capabilities in Linux

Having switched to Linux Mint as my primary OS, one of the few things that makes me miss Windows are the built-in search capabilities. In Windows, I can simply hit the "super" key and immediately ...
0
votes
0answers
67 views

How to block web browser bookmarks in KDE kickoff launcher search results

I'm using KDE, and whenever I typed into the kickoff menu searchbox, I start seeing my bookmarks. How do I disable that?
1
vote
4answers
161 views

How to revert to default google search from google.com/cse?

I have a problem with Google search in both Chrome and Firefox, when I type a search query, it will search at http://www.google.com/cse? rather than at https://www.google.com/#q= or at ...
0
votes
0answers
37 views

Is it safe to use Sphinx on /dev/shm?

Is /dev/shm only for temp files? I have a lot of memory on my server and I think to use shared memory to store sphinx index files. How safe it is?
3
votes
1answer
871 views

New Google Chrome search/new tab page for Linux

I'm using google-chrome on Windows and Linux. On Windows, it is google-chrome 28 something (I use beta) and on Linux it is google-chrome-unstable Version 29.0.1516.3 dev. After a recent update on ...
0
votes
1answer
49 views

Search files for regex and return which files contain matches

I searched everywhere but didn't find out how to return a file content that matches given words or a regex. cat /tmp/*.txt | grep "strings"
1
vote
2answers
1k views

Match regex pattern only in filename.extension

I need to use find to locate a file matching a regex pattern in filename.extension instead of the default, which matches /path/to/filename.extension. For instance: /folder |--a-love-song.ogg ...
0
votes
1answer
194 views

How to index and search SFTP/SSH files in Windows?

I use Index Your Files to index and search shared network locations quickly in Windows. I found some files on a shared network location. When I opened this network location in WinSCP I found that it ...
0
votes
4answers
1k views

How to combine find and grep to recursively search for str or str2 in *.html and *.php files from /home/smith/sourcecode?

How can i combine find and grep to search for str1 or str2, recursively, in all *.html and *.php files starting from a directory named /home/smith/source? The output only needs to list files (with ...
1
vote
3answers
180 views

How to find files whose names contain any of 2 strings?

I'd like to find files whose name contain "Mar" or "Jun", how can I do this?
7
votes
3answers
4k views

grep for “term” and exclude “another term”

I am trying to build a grep search that searches for a term but exludes lines which have a second term. I wanted to use multiple -e "pattern" options but that has not worked. Here is an example of a ...
3
votes
1answer
1k views

How to run updatedb, excluding some paths, but not removing previous indexed content for those paths?

I have a strange question, and i am not sure this is something doable at all, thats why i am asking it to the SuperUser :) So, imagine that you have your filesystem with some mount points for ...
0
votes
0answers
28 views

How to find the line containing a string in a file? [duplicate]

Possible Duplicate: How to search for a string in a line and return line and line numbers in linux? I have a file myfile. I will search for a string in this file. I want to see the line ...
1
vote
1answer
52 views

How do I set an alias for a search command that takes two arguments

I have a shell command which find files that contain 2 strings together: $ grep -rl JFL . 2>/de/null | while read n; do grep -l 20120907 "$n"; done The strings above are JFL and 20120907 Now I ...
0
votes
2answers
290 views

GUI search tool in linux

Coming from windows, there is a fantastic search tool, called find everything, found here: http://www.voidtools.com/ Which can instantly search all files on your hard drives via name. It does not ...
0
votes
1answer
378 views

How do I find files containing two strings together in Linux? [duplicate]

Possible Duplicate: How to Combine find and grep for a complex search? ( GNU/linux, find, grep ) I have a file containing a text: PADLST20120907:D:05B:UN:IBTA+TK4 17 ...
2
votes
1answer
778 views

How to reverse-i-search back and forth?

I use reverse-i-search often, and that's cool. Sometime though when pressing Ctrl+r multiple times, I pass the command I am actually looking for. Because Ctrl+r searches backward in history, from ...
2
votes
3answers
995 views

how to use updatedb command as an ordinary user on linux?

locate command is very useful tool on linux, but it seems only root can run updatedb command, so it will be very unconvinent to use locate command on linux, so how to make ordinary user to have the ...
2
votes
4answers
3k views

How to find files containing two strings together in Linux?

I want to find files containing two strings together, for example the file contains both string1 and string2. I want the full path of files in output. I don't want to see "permission denied" ...
0
votes
3answers
508 views

How to search for a string in a line and return line and line numbers in linux?

I want to search for a string in a file, and the output should give me the line number and line containing that string. How can I do it?
2
votes
7answers
7k views

How to find the index of a word in a string in bash?

In bash script, I have a string which contains several words separated by one or more than one spaces. ie: Name Age Sex ID Address If I want to find any of the word, for instance I want ...
0
votes
1answer
914 views

How to search recursively for a string in linux?

I want to search recursively for files containing a string. I want to search: Files in and under the directory I'm standing in currently A specific directory. I want to see only results. I don't ...
4
votes
3answers
1k views

Is there a program which can count occurrence of a certain string in a binary file?

I have a binary file and I need to count occurrences of certain string in this file or even list then with offsets. In windows or Linux (for this task I use Fedora 12 and w2k).
2
votes
3answers
2k views

Find multiple files in linux

I am searching for files in linux and am able to execute the command to search for a single type of format e.g *.jpg but would like to find all files with *.jpg and *.css in one command.
2
votes
3answers
983 views

Linux, how to search some text in a PDF File

I would like to search some text in a PDF file. For example, where is the word "go to" in my PDF? If you find it, what page is there? I find this command line : find /TEMP -name 'manu.pdf' -exec ...
1
vote
3answers
162 views

Grep-like tool for all filetypes?

Is there a grep/ack/grin-like tool for all filetypes (including MS Office, PDF, etc)? I frequently find myself wanting to search a folder or an entire disk for strings inside files that are more than ...
0
votes
2answers
287 views

Alias for recursive case insensitive search in current directory

How do I set an alias, such as "mysearch", which will search for a string recursively in the directory I'm standing in. It should be as below: mysearch "this table..." = find -type f -exec grep ...
0
votes
2answers
317 views

Search recursively for a string containing whitespaces

I want to search for "this table..." string under /home/myuser directory recursively, ie in all files under /home/myuser and in all directories and sub-directories under /home/myuser. /home/myuser ...
6
votes
3answers
4k views

How can I search a file by its name and partial path?

Often I have a file name and it's partial path, e.g. "content/docs/file.xml". Is there a simple way to search for that file, without manually cutting into parts its name to provide directory name ...
1
vote
1answer
77 views

Looking for a pdf viewer with an ability to specify search string on command line

I would like to be able to specify a search in similar manner to "less -p search_string". I need it to quickly preview changes in pdf's generated with LaTeX so it should be possibly lightweight. It ...
5
votes
2answers
1k views

how to do a vim search inverse search for all lines with out text

with grep I can do a grep -v "my search" to get all the lines with out "my search" with sed I can sed '/baz/!s/foo/bar/g' to find replace text on lines with out baz Is there a way to do the same ...
1
vote
0answers
80 views

Indexed image search with advanced image dimensions selection in Linux

I am looking for an indexed search utility for Linux that can query images by their dimensions (width and height). I think nepomuk and tracker can do what I want, but I wasn't able to find any useful ...
2
votes
1answer
504 views

How can I find a particular file without extension in Linux?

I've wondered recently if there is any way to look for archives|pics|media in Linux dirs? I can do it using the find command like this: find ./ -iname "*.tar" or find ./ -regex ...
4
votes
3answers
381 views

Search text in list of files

I'm trying to execute double search within files and return file names. I'm using find ./ -iname '*txt' | xargs grep "searchtext" -sl to find file names with 'searchtext' in them. Command is ...
1
vote
1answer
396 views

Linux find and grep for files not match pattern

I'm trying to search the entire file system for specific text. This command does that but it gets hung up in certain directories like '/proc': find / -print0|xargs -0 grep whatever What I'd like ...
1
vote
2answers
4k views

How can I find a specific file in a directory tree?

Could someone please help me to find all the *.c and *.h files in a directory tree??
7
votes
6answers
3k views

Using an index to make grep faster?

I find myself grepping the same codebase over and over. While it works great, each command takes about 10 seconds, so I am thinking about ways to make it faster. So can grep use some sort of index? I ...
0
votes
2answers
119 views

Case sensitive searching in linux

In linux, I want to search for a word in all files in a directory (also in subfolders), the search must be case sensitive. The search must give me all file names, directory names, and line numbers ...
2
votes
2answers
858 views

list files in specific directories older than 1 day or 24 hours

I am trying to write a simple back up script in python where I try to list the files that are 24 hours old in specific directories that I would choose. I read the manual of find and used find . ...
0
votes
2answers
86 views

Is there 'file indexer' for EVERY file on linux?

I'm using winXP and openSUSE... On win, I have 'search everything' tool, which indexes every file in comp.. Is there a similar tool for linux.. It saves me much time... Thank you... ...
1
vote
1answer
246 views

Search Tool for Linux similar with Google Desktop

I have a huge project with thousands of lines of code. I need to search in it and the IDE I'm using has to search each file at the time for the pattern I need. Is there a GUI tool I can use that ...
2
votes
1answer
28 views

Amarok2 “Search Collection” shortcut?

Is there a way to make a shortcut for amarok2 that would put focus on the "search collection" box?
3
votes
1answer
859 views

Software to manage a library of searchable PDF documents

What Linux software would you recommend for managing a library of searchable PDF documents? I have a Fujitsu S500 document scanner, and have been using the Windows software that came with it to scan ...
3
votes
6answers
3k views

Search Terminal Output

Using a default terminal and bash, there is no functionality to search the standard output of commands. One can gain such functionality using other tools, like emacs shell or screen, but I am ...
0
votes
2answers
665 views

search an ntfs partition for files from linux

My Linux system has an NTFS disk attached to it. How can I search for all *.txt files on the NTFS partition using Linux?
6
votes
1answer
2k views

Linux find/search root partition ONLY?

Say I need to do: find / -name somefile.txt and say root partition / is mounted on /dev/sda5; however, let's say I also have 250GB partitions (/dev/sda6, /dev/sda7) mounted in /media - AND ...
1
vote
2answers
326 views

Zsh: How can I disable the “searching…”-feature?

When I misspell a command or directory and press enter, zsh first says command not found, but then displays the annoying "searching..." text, which can take a few seconds to show me, that nothing has ...
31
votes
9answers
10k views

What's a good solution for file-tagging in linux?

I've been looking for a way to tag my files and search/filter them based on those tags. Here are my (updated) requirements : any file readable by the user can be tagged freely a user can search ...