Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Carlos Hendson
Alan McKinnon wrote: On Friday 08 May 2009 16:01:14 Mike Kazantsev wrote: On Fri, 8 May 2009 14:38:58 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: To find the part to which I refer you'll need to scroll down about halfway through that page to Colorize grep; the author advises adding

Re: [gentoo-user] Firefox not killing processes on close

2013-11-11 Thread gottlieb
On Sun, Nov 10 2013, Dale wrote: Walter Dnes wrote: On Sun, Nov 10, 2013 at 03:38:16PM -0600, Dale wrote ps -ef | grep firefox and you'll get something like... [i660][waltdnes][~] ps -ef | grep firefox waltdnes 28696 11663 2 19:35 pts/22 00:00:07 firefox waltdnes 28836 28825 0 19:39

Re: [gentoo-user] linux make modules solved

2006-06-17 Thread Etaoin Shrdlu
On Saturday 17 June 2006 12:15, Mick wrote: I am getting confused here: why is module building related to setting grep's colour option? There is probably some script that parses the output of grep, and, with --color=always, this includes terminal control characters and escape sequences

Re: [gentoo-user] linux make modules solved

2006-06-17 Thread Mick
On 17/06/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Saturday 17 June 2006 12:15, Mick wrote: I am getting confused here: why is module building related to setting grep's colour option? There is probably some script that parses the output of grep, and, with --color=always, this includes

[gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-21 Thread James
David M. Fellows unb.ca> writes: >; grep -r -l "EAPI=5" * |grep 'ebuild$' grep -r -l "EAPI=6" * |grep 'ebuild$' yep, it works just fine. sorry for being a bit brain-dead this am... thx, James

[gentoo-user] Re: copy a bunch of files...

2011-02-08 Thread Harry Putnam
Mark Knecht markkne...@gmail.com writes: locate Correlation | grep Builder | grep csv | while read file; do cp $file ~mark/CorrelationTests; done Just a minor point that would simplify the cmd by one cmd call. You could use awk instead of 2 calls to grep. It might be a tiny bit slower

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Christian
Hi Alan, Am Freitag, 8. Mai 2009 schrieb Alan McKinnon: Some greps (like BSD one) might not support '--color' option, so echo hello|grep --color=auto l will return error code, skipping if clause, and won't break grep operation by adding an unsupported option. is this really right

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Stroller
On 8 May 2009, at 14:38, Stroller wrote: ... if echo hello|grep --color=auto l /dev/null 21; then export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' fi I'm afraid this thread has run away from me. I'm drinking the day's first cup of tea rubbing my eyes furiously in confusion. Wha

Re: [gentoo-user] OT - grep: The -P option is not supported

2006-10-25 Thread kashani
Michael Sullivan wrote: I have a script I wrote a couple of weeks ago. Part of the script scans email files and returns IP addresses found in them. I did this with this command: cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] It worked fine right up until this afternoon. Now I get this: [EMAIL

Re: [gentoo-user] pants

2007-01-09 Thread Justin Findlay
On AD 2007 January 10 Wednesday 06:21:10 AM +0100, Bo V|GV|Grsted Andresen wrote: # grep -R PANTS=ON /etc/bash /etc/profile* /etc/env.d ~/.bash* ~/.profile Or better yet, # find /etc -type f -exec grep -nI --color PANTS {} \; $ ls -d --color=no ~/.??* | xargs -i find {} -type f -exec grep -nI

Re: [gentoo-user] Bash query OT

2006-07-09 Thread Mike Williams
On Sunday 09 July 2006 13:33, Dave S wrote: chkrootkit -q\ | grep -v 'PACKET SNIFFER(/sbin/dhclient3'\ | grep -v '/usr/lib/jvm/.java-gcj.jinfo'\ | grep -v '/usr/lib/realplay-10.0.6/share/default/.realplayerrc'\ | grep -v '/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/.systemPrefs'\ | grep -v '/usr

Re: [gentoo-user] Is grep broken?

2009-07-02 Thread Peter Humphrey
On Thursday 02 July 2009 08:23:19 Carlos wrote: You could use the --include directive : grep -r --include=*html hmenu . Nice idea - thanks. -- Rgds Peter

[gentoo-user] Problem emerging bluefish

2010-06-02 Thread Peter Humphrey
Hello list, While playing around with equery check as mentioned here the other day, I found myself remerging BlueFish. It fails with an error: [...] CREATED bluefish.xml Making all in images Making all in man Making all in po grep: ./LINGUAS: No such file or directory grep: ./LINGUAS

Re: [gentoo-user] dispatch-conf spells disaster-RESOLVED

2006-10-17 Thread Bo Ørsted Andresen
On Monday 16 October 2006 22:53, maxim wexler wrote: But where is CONFIG_PROTECT_MASK, since grepping make.conf only returns the one line, CONFIG_PROTECT? Looking at the output of the following commands should answer your question. # env | grep ^CONFIG_PROTECT # find /etc/env.d | xargs grep

[gentoo-user] Re: OT: python, accounting gentoo

2012-08-24 Thread James
Michael Mol mikemol at gmail.com writes: euse -i tk|grep python euse -i python|grep tk euse -i gtk|grep python eix -S -c | grep python get's them all. However, I was looking for some voice of experience or wisdomatic comment on the myriad of choices to possible start testing

Re: [gentoo-user] Firefox not killing processes on close

2013-11-11 Thread Neil Bothwick
On Mon, 11 Nov 2013 09:35:11 -0500, gottl...@nyu.edu wrote: I'll leave the heavy listing to alan, but to avoid listing the grep, I believe you want ps -ef | grep firefox | grep -v grep I see a lot of wheels being reinvented... -- Neil Bothwick NOTE: In order to control energy costs

[gentoo-user] bash script question

2014-08-18 Thread Adam Carter
I want to use an if/then that tests for the existence of a string in 4 files. Usually I do this by checking the exit code of grep, when i'm checking a single file. However, I cant get the syntax right for multiple checks. To troubleshoot I’ve dropped back to just checking two files, and i’ve

[gentoo-user] Better than equery list|grep something

2006-02-03 Thread Harry Putnam
A while back some posted a way to avoid doing: equery list|grep package to get info like version or whatever. It involved limiting what list returned by some method before it gets to grep. Anyone remember or know what it is. -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Stroller
On 9 May 2009, at 11:41, Etaoin Shrdlu wrote: ... Let's say we use BSD grep or Schilling grep or whatever - is there actually any harm in exporting GREP_OPTIONS='--color=auto' in this case? Yes, because if the grep implementation in question supports GREP_OPTIONS but doesn't support

[gentoo-user] Re: Kernel updates

2005-10-30 Thread Tim Kruse
* On 30.10.2005 Qian Qiao wrote: # cat /var/lib/portage/world grep sys-kernel I have corrupted your command, but realized it too late, sorry. You originally have written: # cat /var/lib/portage/world | grep sys-kernel UUOC I stand corrected. grep sys-kernel /var/lib/portage/world

Re: [gentoo-user] OT - grep: The -P option is not supported

2006-10-25 Thread Bo Ørsted Andresen
On Wednesday 25 October 2006 20:51, Michael Sullivan wrote: [SNIP] cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] ;) http://www.ruhr.de/home/smallo/award.html It worked fine right up until this afternoon. Now I get this: [EMAIL PROTECTED] ~/spam $ cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] grep

Re: [gentoo-user] Which process is using port 5060 ?

2006-06-16 Thread Alexander Skwar
fire-eyes wrote: netstat -anp | grep :5060 More useful would be lsof (emerge lsof) lsof -n | grep :5060 Why do you say, that lsof is more useful? [EMAIL PROTECTED] ~/Desktop $ sudo netstat -anp | grep 514 udp0 0 0.0.0.0:514 0.0.0.0:* 7050

Re: [gentoo-user] search files for text string

2015-06-08 Thread Raffaele BELARDI
Volker Armin Hemmann wrote: Am 06.06.2015 um 18:45 schrieb Joseph: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method

Re: [gentoo-user] Rkhunter now showing Warnings for two files: /bin/egrep fgrep

2015-01-26 Thread Alexander Kapshuk
(was out of town), and now, even after running --propupd, I continue to get these warnings: # grep Warning /var/log/rkhunter.log [03:10:32] Info: Emailing warnings to 'root' using command '/bin/mail -s [rkhunter] Warnings found for ${HOST_NAME}' [03:10:45] /bin/egrep

Re: [gentoo-user] Is grep broken?

2009-07-02 Thread Carlos
Peter Humphrey a écrit : Hello list, Can anyone explain this to me? $ /bin/grep -r hmenu *html index.html: div id=hmenu master.html:div id=hmenu pictures.html: div id=hmenu $ /bin/grep -r hmenu pages/*html pages/community.html

[gentoo-user] chrony seems to ignore configuration file

2007-03-10 Thread Alexander Skwar
Hello. I'd like to use net-misc/chrony-1.21-r1 on a ~x86 system to keep my system time correct. My chrony.conf contains: [EMAIL PROTECTED] ~ $ grep -v ^\# /etc/chrony/chrony.conf|sort|uniq|grep -v ^\!|grep -v ^%|grep -v ^\; cmdallow 127.0.0.1 commandkey 1 driftfile /etc/chrony/chrony.drift

Re: [gentoo-user] [OT] Which openoffice

2008-05-06 Thread Joe User
Am Montag, 5. Mai 2008 22:00:37 schrieb Willie Wong: echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; cat /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4/30 +;}';free|grep '^Mem'|awk '{print $3/1024/3+}'; df -P -k -x nfs -x smbfs | grep -v '1024-blocks' | awk '{if ($1 ~ /dev/(scsi

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Eray Aslan
On 08.05.2009 17:10, Alan McKinnon wrote: if echo hello|grep --color=auto l /dev/null 21; then export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' fi to ~/.bashrc Why does he echo hello, please? Some greps (like BSD one) might not support '--color' option, so echo hello|grep

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread James Rowe
* Carlos Hendson (skyc...@gmx.net) wrote: [1] The reason an error message is shown here is because it's bash that's reporting the broken pipe error. Grep's error message was redirected to /dev/null, which was: grep: unrecognized option '--unsupported' Usage: grep [OPTION]... PATTERN [FILE

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Etaoin Shrdlu
On Saturday 9 May 2009, 12:15, Stroller wrote: On 8 May 2009, at 14:38, Stroller wrote: ... if echo hello|grep --color=auto l /dev/null 21; then export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' fi I'm afraid this thread has run away from me. I'm drinking the day's first cup

Re: [gentoo-user] pants

2007-01-09 Thread Korthrun
On 1/9/07, Justin Findlay [EMAIL PROTECTED] wrote: On AD 2007 January 10 Wednesday 06:21:10 AM +0100, Bo V|GV|Grsted Andresen wrote: # grep -R PANTS=ON /etc/bash /etc/profile* /etc/env.d ~/.bash* ~/.profile Or better yet, # find /etc -type f -exec grep -nI --color PANTS {} \; $ ls -d

Re: [gentoo-user] Is grep broken?

2009-07-01 Thread Patrick Holthaus
On Wednesday 01 July 2009 16:30:26 Peter Humphrey wrote: Hello list, Can anyone explain this to me? $ /bin/grep -r hmenu *html index.html: div id=hmenu master.html:div id=hmenu pictures.html: div id=hmenu The star is evaluated

Re: [gentoo-user] Firefox not killing processes on close

2013-11-10 Thread Yohan Pereira
On 11/11/13 at 01:44am, Dale wrote: Yohan Pereira wrote: On 10/11/13 at 08:07pm, Walter Dnes wrote: [i660][waltdnes][~] ps -ef | grep firefox waltdnes 28696 11663 2 19:35 pts/22 00:00:07 firefox waltdnes 28836 28825 0 19:39 pts/30 00:00:00 grep --color=auto firefox Only one

Re: [gentoo-user] search files for text string

2015-06-08 Thread Alan McKinnon
On 08/06/2015 08:05, Raffaele BELARDI wrote: Volker Armin Hemmann wrote: Am 06.06.2015 um 18:45 schrieb Joseph: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order

[gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-22 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/21/2016 01:31 PM, James wrote: > David M. Fellows unb.ca> writes: >; > >> grep -r -l "EAPI=5" * |grep 'ebuild$' > > grep -r -l "EAPI=6" * |grep 'ebuild$' > > > yep, it works

[gentoo-user] Re: How to tell Cron X is running or not

2007-11-25 Thread reader
Andrey Falko [EMAIL PROTECTED] writes: How about something like this: retval=`ps aux | grep tty | grep X | awk '{print $2}'` Or retval=`cat /tmp/.X0-lock` Or even better: if [[ -e /tmp/.X0-lock ]];then Yup, both of those should work from cron or anywhere. In my case and probably many

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Etaoin Shrdlu
On Saturday 9 May 2009, 12:43, Stroller wrote: My question is: Do BSD other greps also support GREP_OPTIONS ? A quick google search reveals that NetBSD and FreeBSD use GNU grep, while OpenBSD uses BSD grep, which (at least according to the man page - see http://tinyurl.com/cs2unf) does

Re: [gentoo-user] Better than equery list|grep something

2006-02-03 Thread Andrei Slavoiu
--- Harry Putnam [EMAIL PROTECTED] wrote: A while back some posted a way to avoid doing: equery list|grep package to get info like version or whatever. It involved limiting what list returned by some method before it gets to grep. Anyone remember or know what it is. `equery list

[gentoo-user] Ethernetkarte, Geschwindigkeit verstellen

2006-05-29 Thread Bertram Scharpf
Hallo, um die Funktionstüchtigkeit eines (selbstgecrimpten) Netzwerkkabels zu untersuchen, möchte ich die Geschwingigkeit der Ethernetkarten herunterstellen. Leider stellt die sich sofort wieder zurück: # ethtool eth1 | grep Speed Speed: 100Mb/s # ethtool -s eth1 speed 10 ; ethtool

Re: [gentoo-user] Ethernetkarte, Geschwindigkeit verstellen

2006-05-29 Thread Richard Fish
On 5/29/06, Bertram Scharpf [EMAIL PROTECTED] wrote: # ethtool eth1 | grep Speed Speed: 100Mb/s # ethtool -s eth1 speed 10 ; ethtool eth1 | grep Speed Speed: 10Mb/s # ethtool eth1 | grep Speed Speed: 100Mb/s I have no idea what the rest of your message says

Re: [gentoo-user] gcc 4 and 3.4 in parallel

2005-06-27 Thread Hans-Werner Hilse
Hi, On Mon, 27 Jun 2005 19:33:25 +0200 Philip Lawatsch [EMAIL PROTECTED] wrote: LDPATH. Have a look at /etc/env.d/05gcc. Hm, strange enough, this never shows up in my environment. Neither with gcc3 or gcc4 profiles. Aaargh, my fault. This is used by env-update and gets - *grep, grep, grep

Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Volker Armin Hemmann
On Sonntag 29 November 2009, Sebastian Beßler wrote: Am 29.11.2009 17:23, schrieb Jarry: Harry Putnam wrote: How can I determine the motherboard make and model? I mean without opening the case. # emerge sys-apps/dmidecode # dmidecode | grep Version: Version: ASUS A8N-SLI

[gentoo-user] Re: Where does sudo get the PATH ?

2012-10-11 Thread Nicolas Richard
Pandu Poluan pa...@poluan.info writes: A bit desperate, but try : grep -R texlive/2011 /etc/* I tried that already youngfrog@geodiff-mac3 ~ $ sudo grep -r texlive/2011 /etc youngfrog@geodiff-mac3 ~ $ sudo grep -r texlive/2011 ~root /root/.bash_history:cd /usr/local/texlive/2011 /root

Re: [gentoo-user] search files for text string

2015-06-07 Thread Volker Armin Hemmann
Am 06.06.2015 um 18:45 schrieb Joseph: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method of searching files? grep -R

Re: [gentoo-user] somebody using x11-drm?

2008-04-24 Thread Andrew Gaydenko
=== On Thursday 24 April 2008, Florian Philipp wrote: === ... Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage

Re: [gentoo-user] Excellent Paludis interview

2007-12-19 Thread Zsitvai János
/keywords.conf grep -h -v \# /etc/portage/package.keywords/* | grep \/ | awk -F '{print $1 x86 ~x86}' | sort -u /etc/paludis/keywords.conf cat /etc/paludis/package_mask.conf | grep -v '::' | grep -v '#' | sort -u /etc/portage/package.mask/paludis cat /etc/paludis/package_unmask.conf | grep -v

Re: [gentoo-user] Grep question

2009-03-01 Thread Mike Kazantsev
number of lines. I doubt there's a solution involving grep, unless you use it twice in the same pipe: grep -A string1 /some/file | grep -B string2 But there can be any amount of more elegant solutions, involving sed: sed -n '/string1/,/string2/p' /some/file -- Mike Kazantsev

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Mike Kazantsev
On Fri, 8 May 2009 14:38:58 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: To find the part to which I refer you'll need to scroll down about halfway through that page to Colorize grep; the author advises adding: if echo hello|grep --color=auto l /dev/null 21; then export

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Stroller
On 8 May 2009, at 15:01, Mike Kazantsev wrote: On Fri, 8 May 2009 14:38:58 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: To find the part to which I refer you'll need to scroll down about halfway through that page to Colorize grep; the author advises adding: if echo hello|grep

RE: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Adam Carter
lspci | grep VGA Or if that doesn't work lshw -class display

[gentoo-user] Lost SCSI support

2005-12-19 Thread Joseph
When I try to mount camera or USB stick I get: mount: /dev/sda1 is not a valid block device No SCSI support from kernel (using Kernel 2.6.14-4r) Doing dmesg |grep sd (I only get): dmesg |grep sd Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). In Kernel I have enabled

Re: [gentoo-user] uninstall a bunch

2006-05-31 Thread Rakotomandimby Mihamina
On Wed, 2006-05-31 at 17:59 +0200, Rakotomandimby Mihamina wrote: Hi, I emerged gnome and gdm. It installed more than 100 other dependencies. To be precise, I had to install 283 softwares. So, I did: # grep 283 /var/log/emerge.log | grep completed 114911668: completed emerge

[gentoo-user] OT - Extracting IP addresses with grep

2006-10-12 Thread Michael Sullivan
, but I can't figure out how to get grep to cooperate. I created a perl regular expression for matching against IP addresses and tried to pass it to grep, but it wouldn't return anything. I don't know what I'm doing wrong. Here's my command: [EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ cat * | grep -P m

Re: [gentoo-user] dispatch-conf spells disaster-RESOLVED?

2006-10-16 Thread maxim wexler
If you really have an empty CONFIG_PROTECT, dispatch-conf didn't touch this file, it was replaced during emerge. You must fix this before emerging anything else or you will overwrite more config files. What do emerge --info | grep CONFIG and grep CONFIG /etc/make.conf show

Re: [gentoo-user] Bash query OT

2006-07-09 Thread Neil Bothwick
filter of repeating false positives OUTFILE=`mktemp` || exit 1 chkrootkit -q\ | grep -v 'PACKET SNIFFER(/sbin/dhclient3'\ | grep -v '/usr/lib/jvm/.java-gcj.jinfo'\ | grep -v '/usr/lib/realplay-10.0.6/share/default/.realplayerrc'\ | grep -v '/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/.systemPrefs

Re: [gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Jarry
Steve wrote: $ ps auwx | grep clamscan | grep -v grep | wc -l 42 $ ps auwx | grep procmail | grep -v grep | wc -l 94 $ ps auwx | grep clamassassin | grep -v grep | wc -l 55 -- The first few lines from top say: -- PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 15451 usr

[gentoo-user] Is grep broken?

2009-07-01 Thread Peter Humphrey
Hello list, Can anyone explain this to me? $ /bin/grep -r hmenu *html index.html: div id=hmenu master.html:div id=hmenu pictures.html: div id=hmenu $ /bin/grep -r hmenu pages/*html pages/community.html: div id=hmenu

Re: [gentoo-user] emerge -avt xfce4-meta; haven't got startxfce4. Help, please!

2010-02-09 Thread Mark Knecht
firefly ~ # emerge -ep xfce4-meta | grep xfce | grep utils [ebuild R ] xfce-base/xfce-utils-4.6.1 firefly ~ # On Tue, Feb 9, 2010 at 10:36 AM, Mark Knecht markkne...@gmail.com wrote: SNIP firefly ~ # which startxfce4 /usr/bin/startxfce4 firefly ~ # equery belongs /usr/bin/startxfce4

[gentoo-user] Re: How's the openrc update going for everyone?

2011-05-11 Thread Nikos Chantziaras
On 05/11/2011 06:53 PM, Nikos Chantziaras wrote: On 05/11/2011 06:42 PM, Dale wrote: That was quick: root@fireball / # grep LC_ALL /etc/env.d/* root@fireball / # Guess that is not in env.d anywhere. :/ Then I guess you can create it on your own. See: http://www.gentoo.org/doc/en/guide

[gentoo-user] Cannot mount USB stick using Dolphin

2011-06-05 Thread Mick
Both consolekit and polkit are running. What could be the problem? $ ps axf | grep polkit 8961 pts/1SN+0:00 \_ grep --color=auto polkit 5678 ?Sl 0:00 /usr/libexec/polkitd $ ps axf | grep console 5594 ?Ssl0:00 /usr/sbin/console

Re: [gentoo-user] Re: OT: python, accounting gentoo

2012-08-24 Thread Michael Mol
with bindings i I know about is wxWidgets with wxPython. I'm sure, there are bindings for your preferred toolkit. OK, I was hoping to avoid going through /usr/portage/dev-python manually to discover the possible relevant packages euse, combined with grep, will help you greatly. euse -i tk|grep

Re: [gentoo-user] Firefox not killing processes on close

2013-11-10 Thread Yohan Pereira
On 10/11/13 at 08:07pm, Walter Dnes wrote: [i660][waltdnes][~] ps -ef | grep firefox waltdnes 28696 11663 2 19:35 pts/22 00:00:07 firefox waltdnes 28836 28825 0 19:39 pts/30 00:00:00 grep --color=auto firefox Only one Firefox process exists. (I can't seem to prevent the grep

Re: [gentoo-user] problems with usb audio and midi

2014-04-24 Thread Mick
On Thursday 24 Apr 2014 17:32:25 luis jure wrote: lspci | grep OHCI should show if you need it. mmm... lspci | grep OHCI gives nothing, so i guess i'll disable these modules in the kernel. Oops! I gave a bum steer, my apologies! I meant to have typed: lspci -v | grep -i OHCI

Re: [gentoo-user] search files for text string

2015-06-06 Thread Alexander Kapshuk
On Sat, Jun 6, 2015 at 7:45 PM, Joseph syscon...@gmail.com wrote: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method

Re: [gentoo-user] search files for text string

2015-06-06 Thread tlze
try: find . -type f -exec grep 'abcd' -l {} \;

Re: [gentoo-user] Rkhunter now showing Warnings for two files: /bin/egrep fgrep

2015-01-26 Thread Poison BL.
(was out of town), and now, even after running --propupd, I continue to get these warnings: # grep Warning /var/log/rkhunter.log [03:10:32] Info: Emailing warnings to 'root' using command '/bin/mail -s [rkhunter] Warnings found for ${HOST_NAME}' [03:10:45] /bin/egrep

Re: [gentoo-user] [OT] Which openoffice

2008-05-05 Thread Alan McKinnon
On Monday 05 May 2008, Willie Wong wrote: Since we've come this far, I really want to know what is your virtual p*n*s length: echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; cat /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4/30 +;}';free|grep '^Mem'|awk '{print $3/1024/3+}'; df

Re: [gentoo-user] NIC not detected after Kernel upgrade

2009-02-16 Thread Dirk Heinrichs
Am Sonntag, 15. Februar 2009 22:52:42 schrieb Guillermo Garron: sudo lspci -v | grep Ether 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Where did I write |grep Ether? That's pretty much useless as there is nothing new in it. Bye

[gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread James
John Jolet john at jolet.net writes: But now when I run 'ntpq -p' I get: ntpq: read: Connection refused is ntpd dying? ps -elf|grep ntp should show you something besides the grep. Yep. Attempt stop it and start it again: /etc/init.d/ntpd start fails. Ideas? James -- gentoo

Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread Dave Nebinger
James wrote: is ntpd dying? ps -elf|grep ntp should show you something besides the grep. Yep. Attempt stop it and start it again: /etc/init.d/ntpd start fails. /etc/init.d/ntpd zap to clear out the invalid status, then do the 'start' again. -- gentoo-user@gentoo.org mailing

Re: [gentoo-user] Kernel not updating...

2006-02-17 Thread Neil Bothwick
On Thu, 16 Feb 2006 21:05:04 -0500, Ernie Schroder wrote: # cat /etc/portage/package* | grep gentoo-sources grep gentoo-sources /etc/portage/package* is better, it shows which files match. -- Neil Bothwick C:\BELFRY is where I keep my .BAT files ^^^oo^^^ signature.asc Description: PGP

Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Marco Calviani
Hi Boris, try grep GetChi *.C poor me, this was very easy. It was my fault because man grep says it all. Many thanks for your help Boris, MC -- gentoo-user@gentoo.org mailing list

[gentoo-user] Re: How to tie module name to Kernel CONFIG

2008-12-10 Thread Harry Putnam
Geralt [EMAIL PROTECTED] writes: Hi, a generic way is: 1) Go to /usr/src/linux 2) grep tg3 $(find -name Makefile) Nice... I had come up with an even more shotgun approache. grep -r tg3 kernel-name I didn't have enough sense to know it would be in Makefiles

Re: [gentoo-user] mod_rewrite

2005-05-16 Thread Patrick
On Mon, 16 May 2005 09:36:28 -0700 darren kirby [EMAIL PROTECTED] wrote: snip grep rewrite /etc/apache2/conf/apache.conf grep rewrite /etc/apache2/conf/apache2.conf (on my apache2 install...) and you'll likely see it. kashani -d -- indeed its there Patrick -- gentoo-user

Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread abhay
On Thursday 17 Nov 2005 7:36 pm, Michael Sullivan wrote: I've just rebuild kernel-2.6.14-gentoo-r2 Can we have output of lspci | grep Audio lsmod | grep snd emerge -pv alsa-driver dmesg Abhay pgpVG6964dwcR.pgp Description: PGP signature

Re: [gentoo-user] Re: Re: Home Network Printing

2005-11-30 Thread Richard Fish
On 11/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Are you running cups? And if so, post the output of: grep -v ^# /etc/cups/cupsd.conf | grep -v ^$ for both systems. -Richard -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Lost KDE

2007-07-04 Thread Hemmann, Volker Armin
On Mittwoch, 4. Juli 2007, Kevin O'Gorman wrote: so you are using split ebuilds - I don't. But since that file was removed accidentally, you should be able to locate the package which owned it, if you grep for it. grep -R kde-3.5 /var/db/pkg/kde-base/*/CONTENTS and then re-emerge the package

Re: [gentoo-user] LVM boot problem

2006-04-06 Thread Richard Fish
On 4/6/06, Fredrik Tolf [EMAIL PROTECTED] wrote: Hi list! I'm having a bit of a problem with LVM2 on Gentoo. Can you please the output of: 1. dmesg 2. grep -v -e ^ *#.*$ -e ^ *$ /etc/lvm/lvm.conf 3. grep -v -e ^ *#.*$ -e ^ *$ /etc/modules.autoload.d/kerrnel-2.6 4. lsmod -Richard

Re: [gentoo-user] insufficient emerge -t output

2006-04-13 Thread Mantas Povilaitis
On 4/13/06, Patrick Börjesson [EMAIL PROTECTED] wrote: You're sure you haven't installed x11-themes/gnome-themes explicitly before? Send output of: grep gnome /var/lib/portage/world there is no gnome in my world-file: room17 mantas # grep gnome /var/lib/portage/world room17 mantas

Re: [gentoo-user] copy a bunch of files...

2011-02-08 Thread Florian Philipp
Am 08.02.2011 19:27, schrieb Mark Knecht: Hi, Looking for a simple way to do a big copy at the command line. I have a bunch of files (maybe 100 right now, but it will grow) that I can find with locate and grep: c2stable ~ # locate Correlation | grep Builder | grep csv /home/mark/Builder

Re: [gentoo-user] Re: OT: kernel parameters

2011-06-30 Thread Dale
Peter Humphrey wrote: Hmm. Could be. I'll try setting those in my Gentoo kernel and see if it hangs. Thanks Alan. I did grep for lockup without success, so I suppose I must have mistyped it. Use grep -i. That should ignore the case. Sometimes things are in all caps, all lower case

[gentoo-user] ntpd crashing

2012-01-09 Thread Jeff Cranmer
Hi, Can anyone give me any pointers as to how to diagnose a problem with ntpd crashing. My time keeps defaulting to 5 hours earlier than it should. There's nothing in dmesg when I do dmesg | grep time, or dmesg | grep ntp, but /etc/init.d/ntpd status tells me that ntpd has crashed. Jeff

Re: [gentoo-user] Filter grep output of 'ps aux'

2012-03-02 Thread Pandu Poluan
On Mar 3, 2012 12:49 AM, Tanstaafl tansta...@libertytrek.org wrote: Does anyone know if there is a way to filter the output of ps aux to show only lines that have a value in the %CPU column higher than x - ie, 1.0, or 2.0, or something like that? Thanks For that, you need awk instead of grep

Re: [gentoo-user] screen tearing with mpv but not mplayer

2016-10-21 Thread Behrouz Khosravi
$ mplayer foo.mp4 | grep '^VO: ' VO: [gl] ... $ mpv foo.mp4 | grep '^VO: ' VO: [opengl] See 'mplayer -vo help' and 'mpv -vo help'. HTH, -dnh Thanks. It seems that mplayer is using "xv" and mpv uses "opengl-hq". mpv work ok with "xv" but quality degrades

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Alan McKinnon
On Friday 08 May 2009 16:01:14 Mike Kazantsev wrote: On Fri, 8 May 2009 14:38:58 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: To find the part to which I refer you'll need to scroll down about halfway through that page to Colorize grep; the author advises adding: if echo

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Etaoin Shrdlu
to Colorize grep; the author advises adding: if echo hello|grep --color=auto l /dev/null 21; then export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' fi to ~/.bashrc Why does he echo hello, please? Some greps (like BSD one) might not support '--color' option, so

Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?

2008-10-30 Thread Andrey Falko
~/blah.doc.bz2 and grep? You don't need bzgrep or what everjust bzcat /ab/def/sd/blah.bz2 | grep yay Or if you want to use the cases above, a | grep yay should be more than enough...plus you get the colors in the results. It does get a little annoying when you want to use grep for all files

Re: [gentoo-user] Is grep broken?

2009-07-01 Thread Alan McKinnon
On Wednesday 01 July 2009 16:30:26 Peter Humphrey wrote: Hello list, Can anyone explain this to me? $ /bin/grep -r hmenu *html index.html: div id=hmenu master.html:div id=hmenu pictures.html: div id=hmenu $ /bin/grep -r hmenu pages

Re: [gentoo-user] Firefox not killing processes on close

2013-11-10 Thread Dale
Yohan Pereira wrote: On 10/11/13 at 08:07pm, Walter Dnes wrote: [i660][waltdnes][~] ps -ef | grep firefox waltdnes 28696 11663 2 19:35 pts/22 00:00:07 firefox waltdnes 28836 28825 0 19:39 pts/30 00:00:00 grep --color=auto firefox Only one Firefox process exists. (I can't seem

Re: [gentoo-user] search files for text string

2015-06-06 Thread Joseph
On 06/06/15 20:09, Alexander Kapshuk wrote: On Sat, Jun 6, 2015 at 7:45 PM, Joseph [1]syscon...@gmail.com wrote: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check

Re: [gentoo-user] net-wireless/zd1211 - configuring kernel

2008-02-07 Thread Arnau Bria
]) │ │ - Wireless LAN │ │ Selects: WIRELESS_EXT FW_LOADER But it does not appear in my kernel options. Looking for dependencies: [EMAIL PROTECTED] ~ $ grep NETDEVICES /usr/src/.config |grep -v

Re: [gentoo-user] kernel 2.6.12-r9 : sensors don't work

2005-09-01 Thread Neil Bothwick
against the running kernel, others use the /usr/src/linux symlink to decide. So I have a few lines in /etc/conf.d/local.start to take care of such re-emerges when I reboot with a new kernel. # Re-emerge NVidia drivers after a kernel compile lsmod | grep --quiet nvidia || grep --quiet softlevel /proc

Re: [gentoo-user] Upgrading from gcc-3.4.5 to gcc-3.4.6-r1

2006-06-28 Thread Darren Grant
Benno Schulenberg wrote: Darren Grant wrote: # gcc-config 1 * Switching native-compiler to x86_64-pc-linux-gnu-3.4.5 ... [ ok ] # env | grep 'GCC_SPECS=' ...nothing. Log back in first. Environment is set when bash starts. Benno Ok... logged out and back in... env

[gentoo-user] Re: Is grep broken?

2009-07-01 Thread Grant Edwards
On 2009-07-01, Peter Humphrey pe...@humphrey.ukfsn.org wrote: Can anyone explain this to me? $ /bin/grep -r hmenu *html index.html: div id=hmenu master.html:div id=hmenu pictures.html: div id=hmenu The shell expands *html to a list

[gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Steve
auwx | grep clamscan | grep -v grep | wc -l 42 $ ps auwx | grep procmail | grep -v grep | wc -l 94 $ ps auwx | grep clamassassin | grep -v grep | wc -l 55 -- The first few lines from top say: -- PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 15451 usr 20 0 35944 33m

Re: [gentoo-user] How to tell Cron X is running or not

2007-11-25 Thread Andrey Falko
On Nov 25, 2007 8:27 PM, [EMAIL PROTECTED] wrote: Scripts that test for X running might work in a shell but not when the script is run by cron. For example: This code: tty|grep pts retval=$? if [[ $retval 0 ]];then print X isn't running just now... postponing rsync of WWW

Re: [gentoo-user] ebuild description

2009-04-25 Thread Alan McKinnon
On Saturday 25 April 2009 20:59:09 Michael P. Soulier wrote: Often when I see something like dev-libs/libassuan, I say, what the heck is that? So I look at the ebuild file... msoul...@anton:~$ grep DESCRIPTION /usr/portage/dev-libs/libassuan/libassuan-1.0 .5.ebuild DESCRIPTION=Standalone

Re: [gentoo-user] Re: setting path for qpkg

2005-12-15 Thread Francesco Riosa
James wrote: Paul Varner fuzzyray at gentoo.org writes: Actually it does: OK, let's say I'm looking or 'theoraenc' I just ran 'qgrep theora *' and got lots of hits, I ran 'qgrep theoraenc *' and got nothing qgrep theora is actually similar to grep theora $PORTDIR

Re: [gentoo-user] Ethernetkarte, Geschwindigkeit verstellen

2006-05-29 Thread Uwe Thiem
. # ethtool eth1 | grep Speed Speed: 100Mb/s # ethtool -s eth1 speed 10 ; ethtool eth1 | grep Speed Speed: 10Mb/s # ethtool eth1 | grep Speed Speed: 100Mb/s Was muß ich noch abstellen? Auto-negotiation. Uwe -- Mark Twain: I rather decline two drinks than

Re: [gentoo-user] Ethernetkarte, Geschwindigkeit verstellen

2006-05-29 Thread Roger
Richard Fish wrote: On 5/29/06, Bertram Scharpf [EMAIL PROTECTED] wrote: # ethtool eth1 | grep Speed Speed: 100Mb/s # ethtool -s eth1 speed 10 ; ethtool eth1 | grep Speed Speed: 10Mb/s # ethtool eth1 | grep Speed Speed: 100Mb/s I have no idea what

  1   2   3   4   5   6   7   8   9   10   >