mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-10 22:21:11 +08:00
Translated:20140902 Use SearchMonkey To Search Text In All Files Within A Directory In Ubuntu.md
This commit is contained in:
parent
b8df283ea7
commit
aadd13e599
@ -1,38 +0,0 @@
|
||||
Translating by GOLinux ...
|
||||
Use SearchMonkey To Search Text In All Files Within A Directory In Ubuntu
|
||||
================================================================================
|
||||
At times we need to search files which contain some particular text or words in them. This often happens if you are a developer or programmer. Now, one can always use [Linux commands to find all files containing specific text][1], but not everyone is command line fan. I have seen excellent programmers that rely on GUI tool than command line.
|
||||
|
||||
If you too prefer GUI tools, than [SearchMonkey][2] is one perfect application for you.
|
||||
|
||||
### SearchMonkey is your desktop search engine ###
|
||||
|
||||
SearchMonkey searches the directories recursively so that you can sit and relax while SearchMonkey does his work. Users can search for file names and contents using powerful regular expressions. This enables SearchMonkey to be much more precise when it returns hits.
|
||||
|
||||
In addition, SearchMonkey doesn’t just show you a list of files that might contain what you are looking for, it helpfully displays the content with the matches highlighted.
|
||||
|
||||
### Install SearchMonkey in Ubuntu 14.04 ###
|
||||
|
||||
SearchMonkey is available in Ubuntu 14.04 (and earlier versions as well) repository. You can install it via Ubuntu Software Center or by just typing the following command in terminal:
|
||||
|
||||
sudo apt-get install searchmonkey
|
||||
|
||||
Once installed, you can launch SearchMonkey from Unity Dash. The interface is easy to understand and easy to use.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/SearchMonkey_Ubuntu.jpeg)
|
||||
|
||||
SearchMonkey finds the files you need quickly, and without building a drive map first. Each search takes place in real time, and results are displayed in context as soon as they are found! And above all it’s a free and open source software.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/searchmonkey-search-text-files-linux/
|
||||
|
||||
作者:[Amit Asthana][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/amit/
|
||||
[1]:http://www.computerandyou.net/2011/06/how-to-find-all-files-containing-specific-text-in-linux/
|
||||
[2]:http://searchmonkey.embeddediq.com/
|
@ -0,0 +1,37 @@
|
||||
Ubuntu文本检索神器——SearchMonkey
|
||||
================================================================================
|
||||
有时候,我们需要搜索包含有某些特定文本或单词的文件。如果你是个开发者或者程序员,经常会碰到这问题。现在,我们总是能够使用[Linux命令来查找包含有指定文本的所有文件][1],但不是每个人都热衷于命令行的。我见过那些优秀的程序员,他们更多的是依赖于图形化工具,而不是命令行。
|
||||
|
||||
如果你也更喜欢图形化工具,那么[SearchMonkey][2]对于你而言是个十分完美的应用。
|
||||
|
||||
### SearchMonkey是你的桌面搜索引擎 ###
|
||||
|
||||
SearchMonkey递归搜索目录,因此你可以在它干这活的时候坐下放松一下。用户可以使用强大的正则表达式来搜索文件名和内容,这使得SearchMonky返回结果时更为精确。
|
||||
|
||||
此外,SearchMonkey不仅仅给你列出一堆包含有你正在查找的内容的文件,它也高亮显示匹配的内容。
|
||||
|
||||
### 在Ubuntu 14.04中安装SearchMonkey ###
|
||||
|
||||
SearchMonkey可以在Ubuntu 14.04的软件仓库中找到,你只需要通过Ubuntu软件中心或者通过以下命令来安装:
|
||||
|
||||
sudo apt-get install searchmonkey
|
||||
|
||||
安装完毕后,你可以从Unity Dash中启动SearchMonkey。界面简明直观,易于使用。
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/SearchMonkey_Ubuntu.jpeg)
|
||||
|
||||
SearchMonkey帮助你快速查找到你所需要的文件,不需要先构建一个驱动映射。每次搜索都是实时的,结果也会在找到后立即在上下文中显示!尤其是,它是一个免费而开源的软件。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/searchmonkey-search-text-files-linux/
|
||||
|
||||
作者:[Amit Asthana][a]
|
||||
译者:[GOLinux](https://github.com/GOLinux )
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/amit/
|
||||
[1]:http://www.computerandyou.net/2011/06/how-to-find-all-files-containing-specific-text-in-linux/
|
||||
[2]:http://searchmonkey.embeddediq.com/
|
Loading…
Reference in New Issue
Block a user