Questions tagged [search]
search is used for questions relating to searching through the contents of files. For searching for filenames using the locate command use the tag locate.
581 questions
1 vote
0 answers
403 views
Trying to search AUR, unexpected eof
I am trying to search android-sdk related stuff so I did paru -Ss android-sdk but I got this error: error: aur search failed: error sending request for url (https://aur.archlinux.org/rpc): error ...
5 votes
1 answer
433 views
Search both directions with less or similar tools
I want to be able to search entire page instead of just below (/) or above (?). Is this possible? As of now I have to navigate to top of a page and perform forward (/) search, I would rather prefer ...
2 votes
2 answers
92 views
Want to search for a every paragraph that has a certain string and return some string from that paragraph
/* ----------------- WANT TO RETURN1 ----------------- */ machine: some value server: WANT TO RETURN1 owner: some value notification: some value informatica: some value sap:...
1 vote
2 answers
152 views
How to extract a sub-heading as string which is above a search for word
I'm new to Bash and I've been self-taught. I think I'm learning well, but I do have staggering gaps in my base knowledge. So sorry if this is woefully simple bbuuuttt... Essentially, I need to sift ...
-4 votes
1 answer
139 views
How combination of find with sh solves problem with filenames
I was directed to this StackExchange post: Why is looping over find's output bad practice? The core issue is that Unix filenames can contain any character except the null byte (\0). This means there ...
8 votes
4 answers
1k views
Elegant File String Search in Bash
I want to search for a string in files located in a certain directory using a bash script. The line number is printed near each match and the filename is printed once at the start. find "$...
1 vote
1 answer
183 views
How to find which Debian package might include a given source file?
I would like to debug my application in gdb, however with full sources of some system libraries I might need. For instance, at a certain point in my debug process in gdb, I arrive at a situation like: ...
1 vote
1 answer
81 views
"history-search-backward" but ignore sudo prefix in zsh?
According to this page: https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html history-search-backward: "Search backward in the history for a line beginning with the first word in the buffer....
2 votes
1 answer
141 views
Adding custom search engines to Firefox system-wide
On multi-user Debian systems with firefox-esr 128 I'd like to add search engines to the firefox search bar eg. stackexchange. I know how to do it manually but I did not find a solution on how to pre-...
1 vote
4 answers
112 views
Looking to improve searches across large ( 7-10 GB files )
I have a need to search for many ( thousands) of dns within a large ( 7-10 GB) ldif file and print out the entries after it . I am mostly familiar with shell/python so tried to use awk for this and it ...
0 votes
2 answers
451 views
command suggestions while typing for beginners
When typing the commands in any shell, can there be any kind of setting that can be enabled for beginners to type just an alphabet and it will suggest multiple commands that the beginner might be ...
0 votes
1 answer
316 views
How to search in a pdf or text file by a regex pattern and output locations of matches?
Is there a pdf viewer that allows me to search its text by a regex expression? In case that I haven't found one, I am thinking about extracting the text and layout from a pdf file by less my.pdf > ...
0 votes
2 answers
307 views
Is there a way to find all PNG files in a folder that have transparent pixels
I have a couple thousand PNGs, all of them probably support the alpha channel but only some of them actually use it (Only some of them actually have transparent pixels). Is there any way at all for me ...
-3 votes
1 answer
215 views
Can I use the DuckDuckGo search engine without Creating a DuckDuckGo Email Protection account? [closed]
Will it be legal if I use the DuckDuckGo search engine without Creating a DuckDuckGo Email Protection account? Or Can I use the DuckDuckGo search engine without Creating a DuckDuckGo Email ...
0 votes
0 answers
76 views
Fuzzy Search for filenames with synonyms and tags (auto generated)
Filesystem: Ext4 I create separate files for each topic. I have thousands of files segregated into 2 or 3 levels of hierarchical broad categories. I would like to search for these files efficiently. ...