General :: Dowload One Part Of A File From Web?
Aug 19, 2010lets say there is one very big file on some server and i just want to download first 1MB. How can I do it on Linux ?
View 2 Replieslets say there is one very big file on some server and i just want to download first 1MB. How can I do it on Linux ?
View 2 RepliesI had been uploading pictures from camera to download fold. Had a lot in there. Thought right click delete would just delete the pictures. Deleted folder too.
How can I get the download folder back?
I am really new to Linux. I have a Sony MP3 player and have always used Windows media player to download songs from CD's to this. How do I do this on Linux (is it possible?)
View 1 Replies View RelatedI want to read values from a file...these are basically one word values, that is to say that the text file I want to read from contains lines of word length 1, as in:
word1
word2
word3
[code]...
I need a webserver (LAMP) running inside a virtual machine (#1) running as a service (#2) in headless mode (#3) with part or the whole file system encrypted (#4).The virtual machine will be started with no user intervention and provide access to a web application for users in the host machine. Points #1,#2 and #3 are checked and proved to be working fine with Sun VirtualBox, so my question is for #4:Can I encrypt all of the file system and still access the webserver (using a browser) or will GRUB ask me for a password?If encrypting all of the file system is not an option, can I encrypt only /home and /var/www? Will Apache/PHP be able to use files in /home or /var/www without asking for a password or mounting these partitions manually?
View 2 Replies View RelatedI have a procedure say X
output of X is :
Fund name: Mutual
NAV is: 1234
So I appended this output into a file using shellscript. But now my requirement is changed. The part of output like Fund name and 1234 should be in bold. How can I do this using shell script.
How do you rename:
abc123.txt
abc124.txt
abc125.txt
to
abc.txt.123
abc.txt.124
abc.txt.125
Basically, I want to move the digits from the filename to after the extension.
It works for one file if I type:
rename 123.txt .txt.123 abc.txt.123
but I have thousands of files like these.
I have a .txt-file with ~50.000 lines of numbers, generated by a mathematics program. From this file, I need line ~ 1.100 to line ~16.000 (these lines are always the same btw, this may make the solution easier, dunno) to be copy/pasted to another file, where the lines ~500 to ~15.000 (also, every time the same) should be overwritten by the aforementioned lines...I haven't found or come up with anything that works yet, mostly I find solutions to copy everything from one file to another but I can't find something to specifically overwrite a part of a file with part of another.
View 4 Replies View RelatedI'm using Ubuntu for about a half year. Currently version 10.10. The next problem I have with Nautilus: He have it in ListView. If I want to rename a file then the entire file is selected and not only the first part. So the file extension is also selected. I think this is a bug, whoich can be found on the Internet, but I do not find a solution. Does anyone here have a solution?
View 4 Replies View Relatedevery time i check for updates using the update manager i get this message "Could not dowload all repository indexes.The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Failed to fetch URL... Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)Some index files failed to download, they have been ignored, or old ones used instead."I've just started using Ubuntu and loving it, pretty much a beginner. any help regarding the issue would be appreciated.The message aint causing any problems with the working but i still like to have an error free computer.
I just used dd to clone a linux partition to a new hard drive, it had 800mb left on the old hard drive, after dd, new hard drive lists 1.29/1.3 terabytes full. Is this what happens by default in dd? How can I fix this?
View 1 Replies View RelatedI'm trying to figure out how to access the local part and the domain part of an email address in postfix's main.cf. For example, myname@mydomain.net has myname as the local part and mydomain.net as the domain part.I get the whole email address with %s. I want to speed up the lookups by writing better database queries.I've had no luck finding this in the otherwise well documented postfix.
View 2 Replies View Relatedwe have access to one domain name , 1 internet ip address and may servers hosting different part of site. I want them all to be accessed via same web site . some of the server in our network are embedded devices.they have their specific utility being hosted on that machine. So the severs are bound to be distributed . I just wanted to know how can I access them via single ip, domain name.
View 6 Replies View RelatedIn bootseqence of linux, the first step is check the CMOSRAM(size 64bytes) setup for custmor setting. So i am just confused wether CMOSRAM is a part of motherboard or is a part of RAM itself.
View 4 Replies View RelatedI know that the question could sound weird but...I was wondering if is possible to download one or more parts of a file.
For example, the first 10 mb, or the latter ones.
I know that there are some apps that let you do segmented downloads, but, is there anyone that let you choose the segment to be downloaded? If not, can this be accomplished with any linux command-line application?
I have this string ./DAT000728-652523058.job.I want to extract the no between DAT and - sign. I want 728. I dont want 000728.echo ./DAT000725-560162365.job | cut -d'T' -f2 | cut -d'-' -f1 I am getting 000728.string can be ./DAT326822-652523058.job also. then i need 326822
View 6 Replies View RelatedThere are a few things I was wondering about (using tools available in bash):How to insert a file at at the specified location of another.How to copy a portion of a file between two lines matching a regex to another file (and/or making sed only work between two lines matching a regex)How would you do this?
View 2 Replies View RelatedI downloaded a .gz file. The network was disconnected a few times during downloading. I resumed the download each time with wget -c option. However after all the downloading is over, an error occurs when I try to extract the .gz file. Is there any way I can download only the missing part of the file?
View 1 Replies View RelatedWhen I look in /var/cache/apt/archives/, I see packages I recognize that I downloaded. But, I also see packages that I know I did not download, but rather were part of the initial installation of the image iso file on the CD. For example, the package for Abiword is in there. I would like to know which packages in this directory I installed, and which were part of the initial installation.
How do I know which packages are part of the installation from the image iso file on the CD? Once I know that, I would make a copy of all the other packages in this folder onto a DVD, so if I ever need to reinstall Ubuntu 9.10 I will know which packages to install over and above those part of the initial installation off the iso CD.
If I have files named like this:
abc_one.c
egx_two.c
tsf_two.c
[code]...
I work for a company that does remote computer support, we use VNC protocol to help our clients. I installed a VNC repeater that allows my clients to connect to me going through all firewalls and port forwarding. The linux VNC repeater outputs all connection information to /var/log/vnc.log and looks something like
Code:
UltraVnc Linux Repeater version 0.14
UltraVnc Tue Mar 22 03:37:02 2011 > routeConnections(): starting select() loop, terminate with ctrl+c
UltraVnc Tue Mar 22 03:37:12 2011 > acceptConnection(): connection accepted ok from ip: 55.555.555.55
[code].....
I need a script that reads this log file every so often (30 seconds to 5 minutes) and sends an email when an connection has been accepted. I looked into reading log files and got this so far
Code:
LOG=/var/adm/sqllog
while true
do
tail -100 $LOG | grep "ORA" > /dev/null
[code]....
What is the Terminology called of a Binary using a file that is not part of it's self? An example would be when a browser uses a HTML file for it's interface. The binaries code has to know how to find it and so on. I imagine that the applications binary uses a system call and that another application takes over.
View 1 Replies View RelatedMorning all , not sure how to put this. I have a .sh executable script I use for video encoding. I want the system to be able to see it no matter where in which folder I am. I want to be able to execute that script in terminal in any folder. How can I make it part of the system path. ? Don't know if my wording is right but I think you guys know what I mean.
View 9 Replies View RelatedI download a lot of files that have been compressed into separate pieces by winrar, so that a 4gb file will be shown as dozen or so 93mb peices. In windows, using winrar, extracting them was rather easy but in Kubuntu whatever default program is being used throws a fit. In a perfect world I would want to get a open source alternative from synaptic, alternatively anything I can download in RPM I can eventually figure out. I want to avoid trying to get winrar working under wine.
View 13 Replies View RelatedMy rquirement is I have a flat file with lot of lines on it.example:
line1
line2
line3
[code]....
anyone knows of a software to take a snapshot of part of the screen and save it as a pdf file. I have KSnapshot installed but this only allows saving image files.
View 2 Replies View RelatedI am trying to torrent using transmission. The problem is, when I click a link to download something, I just get
"/tmp/mn3BZo4y.torrent.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator."
This is happening on all torrent sites.It never comes up with an "open with" option or anything.
install debian 6 on my pc and have big problem with videoadapter driver i cannot install driver i dowload driver from nvidia do something in google but nothing! palit gtx 460 linux debian 6 x64.
View 3 Replies View Relatedwould the following command wipe an entire drive clean (partition table included)? Code: dd if=/dev/urandom of=/dev/sda bs=512.I was wondering what the 'bs' part means? Would it be better to omit that?
View 13 Replies View RelatedIn KDE Trinity, when you move a file from somewhere to soemwhere else, one of the options along with "copy" and "move" is "lancelot part," which has a little goblet next to it. What does "lancelot part" mean? It didn't do anything obvious when I tried it to see what would happen, and I've googled it but not found anything so far.
View 1 Replies View Related