LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gnome terminal 2.1.0, centos 5 - how to 'find' text listed on terminal screen (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-terminal-2-1-0-centos-5-how-to-find-text-listed-on-terminal-screen-851697/)

linuxquestions_forum_use 12-21-2010 08:30 PM

Gnome terminal 2.1.0, centos 5 - how to 'find' text listed on terminal screen
 
Since I see on my Centos 5 system, when using the Gnome Terminal, there is no 'Find' feature, do I use grep to search the output on Gnome Terminal?

I see grep syntax is:

grep search-term file

But what do I use as the 'file' when what I want to search is the contents of the gnome terminal screen?

P.S. If there is a good terminal program that does have a 'find' feature, let me know.

Thanks!

andrewthomas 12-21-2010 08:34 PM

Redirect the output to a file and grep that.

frankbell 12-21-2010 08:35 PM

Install konsole. It has a good search feature.

On Debian and Ubuntu, at least, you can install it from the repos without having to install the entire KDE package.


All times are GMT -5. The time now is 06:02 PM.