I have come across a webpage where there are several (thousands of hyperlinks). Of those hyperlinks, many are named "CDS" and in each of these CDS hyperlink- there are certain lines which i need to chop off!! I kind of have this feeling that AWK would be the one to use.
I use Lenny, and was trying to mount a .iso image, supposedly a cd imagem.
This is what I get from dmesg | tail:
debian:/home/zac/cscd# dmesg | tail [ 1811.505199] floppy0: disk absent or changed during operation [ 1811.505207] end_request: I/O error, dev fd0, sector 0
I did a little research on the web and it seems that this file is not really a cd image, but simply data in a .img file. What do you think of that?
debian:/home/zac/cscd# file cscd3.iso cscd3.iso: data
Some people recommend to extract the data via the dd command, but it didn't seem very safe for me to do that!
is it possible to extract the data into a directory (instead of a device) using dd? This file is supposed to be a software. I wanted to run it on wine by keeping it mounted on a mount point in my file system. Does it make any sense to try to do this if the file simply isn't a cd image?
I am trying to develop a method of reading files generated by other programs. I am trying to find the most versatile approach. I have been trying bash, and have been making good progress with sed, however I was wondering if there was a "standard" approach to this sort of thing. The main features I would like to implement concern reading finding strings based on various forms of context and storing them to variables and/or arrays. Here are the most general tasks:
a) Read the first word(or floating point) that comes after a given string (solved in another thread)
b) Read the nth line after a given string
c) Read all text between two given strings
d) Save the output of task a), task b) or task c) (above) into an array if the "given string(s)" is/are not unique.
e)Read text between two non-unique strings i.e. text between the nth occurrence of string1 and the mth occurrence of string2
As far as I can tell, those five scripts should be able to parse just about any text pattern. I am by no means fluent in these languages. But I could use a starting point. My main concern is speed. I intend to use these scripts in a program that reads and writes hundreds of input and output files--each with a different value of some parameter(s).
The files will most likely be no more than a few dozen lines, but I can think of some applications that could generate a few hundred lines. I have the input file generator down pretty well. Parsing the output is quite a bit trickier. And, of course, the option for parallelization will be very desirable for many practical applications.
When I click on a hyperlink inside a PDF, email (Thunderbird), or other document (ex. AbiWord, LibreOffice) Firefox attempts to launch and it shows in the gnome2 panel (in the window manager with all the other applications) but when I click on it in the window manager to un-minimize/focus Firefox the browser crashes. Odd thing is this is only a problem if the browser is not yet open. If I have previously launched Firefox then click an external link it opens in a new tab just fine. I upgraded from Firefox 4 to 5 and the problem persists. I've only recently noticed this so it could be the result of something I did (installed/uninstalled) though I don't know what I could have done. Or, maybe I never noticed because I almost always have an open browser window.
In Open Office Word Processor. Is it possible to make a hyperlink do two things, or, in other words: accomplish more than one task - but not start the second task until the 1st one is finished. For example play two mp3 files, play them both, but in the appropriate order.
I'm having some major issues with "Iceweasel" on Debian 6.0.1 (squeeze). I've done some extensive google searching but can't really find anything on this issue.
Basically, Iceweasel simply won't follow some links. It seems to spin for a second and then remain on the same page. I haven't been able to find any correlation between the type/style of links and whether or not the browser will work correctly or not when the link is clicked. Also, sometimes if I have multiple tabs open, I'll open gmail in a new tab and it will do nothing. If I exit the app and restart with one new tab, it will correctly bring up gmail (does this with other sites too gmail is just an example).
I actually use Chrome for most stuff now but need FF/Iceweasel for PHP debugging (a Zend Studio plugin not available in Chrome).
how to get more debug info form Iceweasel
I've thought about just installing Firefox but seems I have to do it manually and I'm not convinced that it would make a difference as supposedly the code is the same (?). I may just try it anyway as I'm out of ideas.
Here's the stats:
peter@sendai[vanilla]$ cat /proc/version Linux version 2.6.32-5-amd64 (Debian 2.6.32-31) (email@example.com) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 7 21:35:22 UTC 2011 Iceweasel 3.5.16 (like Firefox 3.5.16)
I've got a box running Etch which seems to have a bad memory controller (I get segmentation faults left, right and centre) so I've built a new 'puter with twice the CPU power (2.4Ghz Intel Q6600 vs Athlon 1000+) and four times the RAM (2Gig vs 512M). I downloaded Lenny three days ago and, apart from some screen resolution issues which I've been discussing in the Newbie forum, most things have been working just fine.
However, I downloaded Opera yesterday (opera_9.64.2480.gcc4.qt3_i386.deb - same version I've been using on the Etch box) and I've seen some strange behaviour. A lot of sites, this one for example, work as expected, but if I go to, for example, www.bbc.co.uk or www.guardian.co.uk, the hyperlinks don't work, the cursor doesn't change to a hand when I hover over the links and clicking over the links doesn't do anything. The same pages work normally using Opera on my Etch box so it seems to be an issue with Lenny, or maybe Gnome on Lenny (I have KDE on the Etch box).
I never had any problems extracting any rar files until about a month or so ago. Now I can't seem to extract ANY video file that has been rared. It is becoming a pain to have to boot into windows just to perform a 15 second task. I dont have any problems with any other files except video files. I get a 'CRC Failed' message. None of my searches have yielded any results. Does anybody know what is causing this problem and how to correct it? Or yet, why it just started happing? I'm using karmic, and was using p7zip-rar until the problem began. The I added unrar and unrar-free but that didn't make any difference.
I have this file that is in ZIP. I can open it and browse the files inside via archive manager. But extracting it gives me an error. When using GUI it says that 'ERROR while extracting files' and in command line when I command: unzip -q myfile.zip
It display this errors
file #2109: bad zipfile offset (local header sig): -2122072556 file #2110: bad zipfile offset (local header sig): -2121511988 file #2111: bad zipfile offset (local header sig): -2121511886 file #2112: bad zipfile offset (local header sig): -2121375823 file #2113: bad zipfile offset (local header sig): -2121310073 file #2114: bad zipfile offset (local header sig): -2121282474 file #2115: bad zipfile offset (local header sig): -2121107851 file #2116: bad zipfile offset (local header sig): -2121015601 file #2117: bad zipfile offset (local header sig): -2120957317 file #2118: bad zipfile offset (local header sig): -2120906286 file #2119: bad zipfile offset (local header sig): -2120906193
I have a bunch of split Z files and I want to extract them but I cannot find how. To be more specific I have a file named foo which is compressed into files foo.0Z, foo.1Z foo.2Z. I have tried uncompress but does not work I have tried gunzip,gzip etc but no result either. Even 7zip will not do the work.
I am trying to install MySQL, Apache, and PHP onto my Linux Ubuntu laptop from a cdrom that I got from a teach yourself MySQL, Apache, and PHP book I bought. First off there were two steps which i think i did right. The first was to mount the CD-ROM under /mnt in my file system which i did and there seems to be no problem except for the reply "mount: block device /dev/sr0 is write-protected, mounting read-only"
now first of all there are two things I need to explain, first of all I was superuser for all of this by using the command su at the beginning of my terminal session. Second of all the symbol "|" on my line of code above looks different from the symbol in the book. It should have a small space in the middle of it. However it looks like this on my keyboard so I am assuming it is simply a difference in text font. That is it, it would be really nice to figure out what went wrong because to be honest I am curious as to why the book is giving me code that gives multiple errors.
I'm trying to extract a file from a zipped archive, and receive an error message saying "caution: filename not matched:".
I suspect the route cause of this is that the original filename contained accented characters (which now show as question marks in the zipped filename). I've tried renaming the file in the archive, but get the same error.
I recently saved a large number of web pages from a website on my computer and all of them contains images. I needed help extracting all the images from the webpages(all of them) there are about 17000 saved webpages in the folder and all of them have images. I am not sure how to extract images from webpage in batch. google search dint turn up anything.. is there lika a tool or something for the job or should a script be written for it?
I use ubuntu 8.10 with the ubuntu packaged version of firefox, however i would like to use the latest java runtime environment from the Sun website and NOT use the ubuntu packages. the problem I have is that i do not know where to place the link to my latest java plugin file. Where is the location for mozilla plugins ? the directory ~/.mozilla/plugins didn't exist and even when I created one and put a link there I still had the older version of Java.
I've had this camcorder for a while, and my knowledge on them were little back years ago when we got it. Any ways the video is recorded on a tape that comes with it. If I had known then, I would have made sure it was recorded onto the SD card. Anyways there is this old video that I wanted to extract and I have Kino installed and have my camcorder connected to the computer with a firewire cable. Kino/Ubuntu does not seem to recognize an input. Though the camcorder does. Anyone know if there is something I'm supposed to do?
ish but I did manage to right-click the Firefox tar.bz2 file and choose to 'extract here'...now I've got the new extracted folder on the desktop but I'm lost as to how to run the installation of the 3.7 alpha 4 release.
9.10 Wubi with XP until 10.04 Google Chrome Widmer Drifter Pale Ale Tommyknocker Pick Axe Pale Ale 1992 Davies Washburn N4 w/ Suhr SSV/DSH+ pups Jazz and Prog Rock, Dream Theatre & Porcupine Tree
I just downloaded the unrar extension from the software center, and when I try to extract a file from a rar archive unto my desktop,ays it extracted the file but nothinghappens.When I press on "Show the Files", it opens the folder which is supposed to contain the files, and they are not there
When I hook it up to my Mac the hard drive shows up in Disk Utility but it can't mount it nor fix it. I don't have Diskwarrior (or similar programs) so I was wondering if I could fix it from my Linux boxes (xubuntu). So my question is, is there a program in Linux that could extract the data from the drive or (even better) fix it?
I have a backup of a Windows OS done by Clonezilla but would like to know if its possible to extract the files from a Windows computer from the backup CD where the backup was saved . Can this be done and what software will be able to help.
I've just downloaded a vidio from ..... and converted it to an .avi file. What I want, however, is just the soundtrack as an .mpg to add to my mp3 player. I'm sure Fedora has software to do this, but I don't know enough about audio/video editing to know where to look.
My OS is Fedora 14 - 64bit. I want to extract and install this file "LEXMARK-INKJET-LEGACY-wJRE-1.0-1.x86_64.rpm.sh.tar.gz". At the moment this is in the download box in the top left corner of my monitor.
I have tried several ways, but all I get is Command Line Output. Gzip:stdin: unexpected end of file./bin/gtar: unexpcted EOF archive. /bin/gtar: error is not recoverable: exiting now.
I created a tar of the /var/www/html directory from a live web server and I want to extract it onto another server that will eventually become a backup server to the live server.When I extract the tar file, I see the whole directory structure /var/www/html. How do I extract the file just leaving the contents of the html directory in the directory of the new server?
is that my ar928x atheros wireless connection is severely slow. To fix it I've heard ndiswrap and so I've downloaded the XP driver from HP's support site (a pavilion dv7-1450us Notebook PC) and met a brick wall. The file is sp45222.exe and it contains seemingly no .bin .inf or .sys files that ndiswrap dearly requires. I've tried extracting it on a windows machine with UniExtract. This gives only three files one of which UniExtract can extract into a compilation of folders none of which have the required files. I've also attempted to use cabextract on my Ubuntubox, but not cabs come out. I have unshield, if that's relevant at all. What on Earth am I doing wrong?
I'm trying to extract the audio from an mp4 video file and convert it to mp3 using ffmpeg. The problem is that the resulting audio file is only 3m2s long, whereas the video file is 8m15s long. Anyone know why the audio file is being truncated? Am I doing something wrong? Apart from being truncated the mp3 file plays perfectly. Here's what ffmpeg has to say about the video file: