I have dualhead configuration - ATI Radeon 7000 with 2 attached VGA monitors.But by booting is one of them switched off:- without kernel param. - nomodeset (added to GRUB), the monitor is switched off just before X start- with nomodeset - is switchet off by X start.In X: xrandr reports only 1 attached monitor (second port is reported as "disconnected") - the same info is in /var/log/Xorg.0.log.I have also try to use my elsewhere working predefined configuration in xorg.conf, but also without effect. The second monitor stays off :On every other OS I have ever tried: Ubuntu 8.04/8.10/9.04, Mandriva 2008/2009.1, Knoppix, SuSE 10.3/11.1, Windows XP, ....I had not this problem.Also - what is wrong in Fedora ? Why do switch the monitor off ? Why reports, that the monitor is disconnected - when it is not true ?
I want to traverse a directory and get a list of files that contain a set of patterns. I assumed I could use grep for this, but I having trouble getting grep to only return files that match ALL patterns. Here's what I've come up with so far:
However, this gives me a list of files that match ANY of the patterns in the searchpatterns.txt file. I want to match ALL of the patterns. I've looked through the man page, but can't find anything that allows me to change the "OR" to "AND" for multiple patterns.
I am using sed to process an ascii tcpdump file whereby each packet is processed into a line with the same number of columns and useful information is pulled out like the time, packet type, length, and also IP addresses, payload type and port numbers where appropriate. The time is already changed to seconds, followed by the protocol over ethernet, such as IP, IP6, ARP etc. and I can change anything it detects as IP, IP6 and ARP into some other string, pulling out necessary information depending on the protocol and payload.The beginning part of the search for IP starts with the sed search /([0-9][0-9]*.[0-9][0-9]*)[ ]IP[ ,] ... /, where time is in seconds and ellipses means more stuff, and likewise for IP6 and ARP.But how do I process the lines that are NOT IP, IP6 or ARP? (Specifically NOT /IP[ ,]/, /IP6[ ,]/ or /ARP[ ,]/.) So that I can format them into a string with the same number of columns.
I only want to match the directories ape/ and apes/ but I think it is matching any directory that ends in "ape" or "apes" or maybe does it match any string containing those characters in any order? I am not great at regex, and have read alot, but still not sure if I understand this correctly.
I have done a bunch of searches on this but the terms seem to get tangled in the more popular search of "colouring the output of grep / awk". I am trying to find a way to grep/awk through the output of a command to find text of a specific colour. The command's output has a range of colours signifying too many different things to specify using text, with colour being the only form of grouping.
I've been trying to identify all files on my cut-down version of Damn Small which contain the text string "User Agent:" in them. Because it's only 120Mb in its entirety, I'm quite happy to have grep search the whole system. I'm using this command, but it just generates errors as you can see:
I'm trying to find exact matches of some users in the /etc/passwd file using "grep -w", but it doesn't always work. For example, I have the following users:[URl].. So, let's say, I want to search for the user "stewart" (which doesn't exist)
I've installed Ubuntu 10.04 on a Packard Bell laptop and I'm having some trouble with the trackpad and keyboard. At the login screen they both work fine, I can move the cursor and type in my password. But after I login they both immediately stop working and I have to use a USB mouse and keyboard.