Tagged Questions
1
vote
0answers
90 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
31 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
93 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
73 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
3answers
109 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
117 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?
5
votes
3answers
346 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
223 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
25 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 ...
0
votes
0answers
66 views
Indexing/Indexer on Linux, Federated Search Provider on Windows
I have a NAS running a Linux distro, and uses Windows on laptops. Is there any relatively ready-made software that can do indexing on the Linux box, while providing a search interface, preferably with ...
1
vote
1answer
36 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
160 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
271 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 ...
1
vote
1answer
305 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 ...
1
vote
1answer
329 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 ...
0
votes
0answers
24 views
Gnome search not working for moved files
My search box in gnome(by pressing Windows button) not working correctly.
I'd moved program to other directory after install but search index still shows old path to application and its cant be ...
1
vote
3answers
973 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
210 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?
0
votes
1answer
599 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
639 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
726 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
515 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
138 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
199 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
208 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 ...
3
votes
3answers
1k 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
75 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 ...
4
votes
2answers
802 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
71 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
306 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
267 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
333 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
1k 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??
6
votes
6answers
2k 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
75 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
547 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
80 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
234 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
593 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 ...
2
votes
6answers
2k 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
512 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?
3
votes
1answer
1k 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 ...
4
votes
3answers
5k views
What are the popular file indexing engines on Linux? [closed]
It would be nice if you can share your experience on the pros and cons of each of them. Personally I only know Google Desktop and Beagle, and I haven't really used them. I mainly store my files on ...
0
votes
2answers
275 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
8answers
7k 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 ...
5
votes
6answers
773 views
In Firefox, is there a shortcut to paste the content of the X buffer directly into the search box?
In particular when programming, it's handy to post error messages in Firefox' search box, to see what Google has to say on the matter :) On linux and particularly X11, it's even more handy since you ...