similar to: grep pattern x, but not pattern y on the same line

Displaying 20 results from an estimated 10000 matches similar to: "grep pattern x, but not pattern y on the same line"

2010 Oct 21
2
send HTML formatted mail (for M$ Outlook) with mailx
Hi folks I have here a small ksh script which generates html output and I am trying to send this html output as inline HTML mail for M$ Outlook users (not attachment). But it doesn't work, in mail you see the html source as plain text [....] echo '<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"
2010 Jan 23
8
The directory that I am trying to clean up is huge
The directory that I am trying to clean up is huge . every time get this error msg -bash: /usr/bin/find: Argument list too long Please advise Anas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100123/f6534851/attachment-0001.html>
2011 Feb 03
4
filter unwanted email
I am new to CentOS. How do I set a rule to so that any email coming from @ linkedin.com (and other abused locations), going to an application RT (setup on the system), will get rejected or dropped silently. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110203/9bf183c3/attachment-0001.html>
2013 Mar 21
2
CentOS 6.4 x86_64 VM Install freezes
I am trying to install a CentOS 6.4 x86_64 VM using a CentOS 5.9 x86_64 host, but its install has froze *twice*. What I am doing is to create a 10gig LVM volume, which I put a MS-DOS partition table on (using fdisk). I then format the only partition to ext3, install grub and install the pxeboot kernel and initrd.img and a simple grub.conf to load this. I have the CentOS 6.4 x86_64 ISOs mounted
2013 Nov 06
3
Running MacOSX as VM under CentOS 5.10?
Is it even remotely possible to run MacOSX (or Darwin) as VM under CentOS 5.10 / xen? Or am I better off not even trying and just getting a MacMini or MacBook to just jack into my LAN? I just need a 'build box' and possibly something to do light testing (eg does the program run? Does the GUI come up?). I don't really have the *physical* room for an iMac, unless the screen is tiny.
2011 Feb 10
2
Strange Kernel for Centos 5.5
One of my VPS stopped working. After the data centre replaced a disk normal service resumed, then I notices this: CentOS release 5.5 (Final) Kernel 2.6.35.4 on an x86_64 I always thought Centos 5.x would always be on 2.6.18. Any thoughts?
2016 Feb 04
7
USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)
I have two computers: both running CentOS 6.7, 64-bit, with kernel 2.6.32-573.12.1.el6.x86_64. One is a laptop with an 2 core Intel processor and the other is a desktop machine with a 4 core AMD processor. Both with selinux enabled. I have a USB serial port device (a RR-CirKits LCC-Buffer USB). On the desktop I am getting this error: sauron.deepsoft.com% sudo minicom Device /dev/ttyACM0
2013 Feb 04
3
Questions about software RAID, LVM.
I am planning to increase the disk space on my desktop system. It is running CentOS 5.9 w/XEN. I have two 160Gig 2.5" laptop (2.5") SATA drives in two slots of a 4-slot hot swap bay configured like this: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End
2020 Oct 17
7
Firefox 78 under CentOS 6 -- no sound?
I did a yum update on my CentOS 6 laptop and it upgraded Firefox to 78, and FF stopped seeing my mic and speakers. Is there some magic I need to do? As a short term (?) fix, I downgraded back to Firefox 68. My system is otherwise up-to-date. -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ --
2010 Jan 08
3
Lilo for CentOS 5?
Does there exist a version of Lilo built for x86_64 CentOS 5? It does not seem to be on the DVD. *I* really, really, prefer Lilo over Grub. -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
2015 Feb 15
2
Updated Spam Assassin for CentOS 5...
I am wondering about updating the version of Spam Assassin on my CentOS 5 mail server. The current version, 3.3.1-4.el5 (stock RHEL version), has been 'leaking' recently. I suspect I need some newer match rules to detect some of the newer flavors of spam. I see that in rpmforge's extras repo is version 3.3.2-4.el5.rfx -- is this version worth installing? Are there even newer versions
2020 Mar 17
3
Running amanda on CentOS 7: "amanda-udp.service failed."
I am trying to get amanda backup going on a CentOS 7 system and things are not working: sharky4.deepsoft.com% sudo systemctl start amanda-udp [sudo] password for heller: Job for amanda-udp.service failed because a configured resource limit was exceeded. See "systemctl status amanda-udp.service" and "journalctl -xe" for details. sharky4.deepsoft.com% sudo systemctl status -l
2009 Nov 16
3
Question about the ahci kernel module: missing in the CentOS (4) Plus kernel
Is there some reason the ahci kernel module is *missing* from the 2.6.9-89.0.16.plus.c4 kernel? It is in the standard 2.6.9-89.0.16.EL kernel. Is this due to an oversight or is there some sort of conflict? I wanted to add IEEE1394 support to my system running CentOS 4.8. I *looks* like what I need to do is download the kernel SRPM and patch the config to include the IEEE1394 modules and
2018 May 28
9
CentOS6: HELP! EFI boot fails after replacing disks...
OK, I wanted to replace the 500G disks in a Dell T20 server with new 2TB disks. The machine has 4 SATA ports, one used for the optical disk and three for the hard drives. It is set up with /dev/sda and /dev/sdb with each three partitions: 1 -- VFAT (for EFI) 2 -- ext4 (for /boot) 3 -- LVM /dev/sda2 and /dev/sdb2 are a mirror raid (/dev/md0) /dev/sda3 and /dev/sdb3 are a mirror raid
2014 Aug 18
2
CentOS 6, Postfix, and Procmail -- how do I get it to work?
What is the trick to get Postfix's local command to pipe mail through procmail? I have: -bash-4.1$ grep allow_mail_to_commands /etc/postfix/main.cf allow_mail_to_commands = alias, forward and -bash-4.1$ cat .forward |/usr/bin/procmail and a .procmailrc file: -bash-4.1$ cat .procmailrc PATH=/usr/bsd:/bin:/usr/bin:/exp/rcf/share/bin MAILDIR=/var/lib/amanda/Mail #you'd better
2013 Mar 20
1
Ctrl-Alt-F? bindings broken under xen 3.0.3-142.el5_9.1 / 2.6.18-348.1.1.el5xen?
I am not sure what I did, but for some reason Ctrl-Alt-F? bindings are broken on 64-bit xen desktop machine (but not on my laptop (32-bit, no xen)). Both machines are (mostly) up-to-date and running CentOS 5.9. I rarely hop to different Virtual Consoles (eg Ctrl-Alt-F1 ... Ctrl-Alt-F7), but today I wanted to go to the main console to watch some kernel verbage (I was checking something with
2012 May 02
1
Help with writing a udev rule
Can someone please help me with writing a udev rule? I need /dev/ttyUSB0 to automatically have 777 rights when plugged in. I'd like it to only apply to that one specific device. I'm not sure where to start, what files to look at and also what to write to make it work. TIA Brad This e-mail transmission contains information that is confidential and may be privileged. It is intended only
2011 Apr 10
1
Merging Install DVDs on a PXE server
Hi all, Probably a simple question, but, I'd like to merge both install DVDs into one directory on my PXE server. Obviously I will need to copy all of the files, but do I need to cast a magical incantation to recreate .discinfo, .treeinfo, etc? Thanks! -- Digimer E-Mail: digimer at alteeve.com AN!Whitepapers: http://alteeve.com Node Assassin: http://nodeassassin.org
2010 Oct 16
1
Another wireless problem
Hi folks I have my Linksys WUSB54GC USB wifi card already working. Now I have another issue. Accidentally I tuned off my AP, and when switched it on again my wireless link is still down. I have to unplug the USB card and plug it again to get it working again. I'm new in wireless matter but this doesn't sounds logical to me. What if I loose the link for whatever reason? Should I have to
2010 Oct 22
2
ssh with shared home dir
hey listers! silly quesion: if I generate an RSA key on an NFS shared home directory, then cat >> it into the .ssh/authorized_keys file in the same location, shouldn't I then be able to ssh into each host that shares the NFS home directory without entering a passphrase (assuming the key doesn't have one)? and assuming the permissions on the authorized_keys file belong to the user