I just upgraded from 9.04 to 10.04 and so far I have those problems:
1. Before, everything in my system was in English. Now, half is in English, half in another language (PCManFM, some menus etc). I tried setting up Language Support but it changes nothing.
2. Cursor themes work only when hovering the mouse over "X" buttons in the right top corner of the window. As soon as I move the mouse somewhere else, it goes back to default cursor theme, even though I tried selecting 5 different themes - same result.
4. Hibernation don't work anymore. s2disk saves image to disk and then it resumes it but computer stops on text message along the lines of "Resume completed successfully".
5. Changing volume with keyboard shotcuts no longer works.
6. Smplayer does not display picture anymore when playing movies. The view is just empty. I can only hear the soundtrack. It is using XV filter.
7. PCmanFM that used to worked flawlessly, now after going into 1 or 2 subdirectories stops reacting to clicks on file/folder list. Need to open new instance to be able to do anything and this again would become unusable after visiting 1-2 folders.
I'm not sure if this is the right place for this. I'm not sure which veraion of linux I have but it was the latest veraon bfor the recent update. I accidentally hit alt ctrl f11 and my comp went inyo the grub menu. I've tried startx and it does nothing. About half the commands I enter do nothing and the other half r not found or are incorrect. The only vommand thw actualley work is reboot. I searched for this and read a grub guide but it did no good.
I have a HP DV9000 laptop. The second hard drive bay doesn't support SATA II devices. I was cloning the original hard drive to the newer SATA II hard drive I purchased two swap them because bay 1 does support SATA II devices. I decided to use
Code: dd if=/dev/sda of=/dev/sdb to get the job done. I double/triple checked my command with fdisk -l, but my dyslexia got the better of me. I should have ran Code: dd if=/dev/sdb of=/dev/sda ....
I stopped the command about 1/2 hour in, it is a 160GB hdd. I tried using foremost to recover all of the files that hadn't been written over yet, but it can't recover Quicken filetypes. The ONLY thing I need off of this drive is the Quicken database. TL;DR I need to recover a quicken database file off my corrupted partition. What program can I use?
someone once told me that use can pass a file to grep and use that to search the contents of another file. if that is the case I'm not entirely sure why the following isn't working for me.
I am trying to compare a list of patterns from one file and grep them against another file and print out only the unique patterns. Unfortunately these files are so large that they have yet to run to completion. Here's the command that I used:
Code: grep -L -f file_one.txt file_two.txt > output.output Here's some example data:
Let me *try* and explain what I'm trying to do, and keep in mind aside from a little command line stuff I'm a beginner to any of what I'm asking about.
So that whatever was captured in the () in the first part of the statement would be used in the 1 in the back part of the statement for every n.chatlog that might be in any of the /webserver directories at that time.
I want to grep a a file for each '#' character that starts a line, the thing is the file is utf-8 and it starts with some some characters 'ef bb bf' is there a way to have grep to work with utf-8 files ?
I am interested in using the grep method in the shell of my CentOS machine to obtain patterns from a file and use them to search through another file and highlight the patterns found. For example:
I'm storing a list of strings in a file and would like to read the file and pipe each line returned to grep which in turn searches a directory for files containing the string.However this is not returning any output.
I want to know that is there any method to grep a particular data from a file without using the "cat --- | grep ' ' " command....I need to use a system call for this functionality.
I ran into a bit of trouble making a bash script. (Desktop is a directory, and I try to get it's modification date)
Code:
lamp:~# cmd='ls -l Desktop | grep -o "....-..-.. ..:.."' lamp:~# $cmd ls: cannot access |: No such file or directory ls: cannot access grep: No such file or directory
[code]....
When I type in the command directly, without using an inbetween variable, it works fine.
I would like to write a newline delimeted rules file using PCREs for use with the grep command. Grep has the option -f to obtain the search pattern from a file, and option -P to search using PCREs. However, these two options do not work together. The -f option only seems to work with fixed string rules.A friend previously helped me get around this limitation somehow, but I can't remember how he did it. I also would like the ability to add comments at the end of each rule in the file.
I have a number of files:FooBlahhFooI only want to be able to grep for names in a file that contain Foo and not BlahhFoo. However I am not able to pull only those files away. How can this bee done. My grep/zgrep knowledge only goes this far at this point. I'm still learning but I'm stuck on how to make my arguments more precise zgrep 'Foo' SomeFileIMade.gz > /home/user/FOOFILE
I am using File::Find to go through a very large tree. I am looking for all xml files and open only those that contain a tag <Updated>. I then want to capture the contents of two tags <Old> and <New>.
My problem is, after I open the file and do the first grep for <Updated> (which does work), I am unable to grep again unless I close the file and open it.
I did something like this:
Quote:
find(&check, $dir); sub check { if ($_ =~ /.xml/){ open(FILE,"$_"); if (grep{/Updated/} <FILE>){ # <-- works
I have a list of words that I want to grep in many files to see which ones have it and which ones dont. in the text file I have all the words listed line by line, ex: list.txt:
check try this word1 word2 open space list ..
I want to grep each line one by one. like I want it to
grep "check" *.log grep "try this" *.log grep "word1" *.log .. etc how can I do this?