LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2010, 02:55 PM   #121
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600

Quote:
Originally Posted by anishakaul View Post
Perhaps unSpawn asked the OP (Original Poster) that is you, to execute that command in response to post number 107, I am not very sure though, lets see if he sheds some light on it.
Yeah I did. Given the null result there's no ~/.wgetrc. NP.
 
Old 10-18-2010, 05:44 PM   #122
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
unSpawn - it sure seems that I do have a problem with handles. Sorry about that. But then Shawn is quite a nice name - It's got to be better than "Dead Dog"

Quote:
The force, weak in you, is. A problem, you have, typing peoples handles correctly ;-p

Last edited by Desdd57; 10-18-2010 at 10:56 PM.
 
Old 10-18-2010, 08:22 PM   #123
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by unSpawn View Post
Yeah I did. Given the null result there's no ~/.wgetrc. NP.
Now if that name problem happens again, I know what to look for, thanks to you.
But I would still like to know : How to make sure that "wget" saves the file with a proper name ALWAYS and what must be the cause behind "wget"'s improper behavior in this particular case ?

Last edited by Aquarius_Girl; 10-18-2010 at 08:26 PM.
 
Old 10-18-2010, 11:44 PM   #124
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
How to make sure that "wget" saves the file with a proper name ALWAYS and what must be the cause behind "wget"'s improper behavior in this particular case ?
I have got something informative here:

Check out this link:
http://www.electrictoolbox.com/wget-...rent-filename/

That link clearly states that if the url which we are using for downloading has got something like this at the end :
wget -c http://www.example.com/somepage.html?foo=bar

Then wget will save the file with the name: "somepage.html?foo=bar"

as it did in our case where we used a mirror at the end :

wget -c http://sourceforge.net/projects/gpar....iso/download?use_mirror=aarnet

That's why the gparted got saved as : "download?use_mirror=aarnet"

To save the software with some other name one just has to use the option -O desiredName

Example:
Code:
anisha@linux-uitj:~> mkdir test
anisha@linux-uitj:~> cd test
anisha@linux-uitj:~/test> ls
anisha@linux-uitj:~/test> wget -c -O dummyName http://www.google.co.in/
--2010-10-19 10:04:00--  http://www.google.co.in/
Resolving www.google.co.in... 173.194.32.104
Connecting to www.google.co.in|173.194.32.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `dummyName'

    [  <=>                                                           ] 9,563       29.0K/s   in 0.3s

2010-10-19 10:04:01 (29.0 KB/s) - `dummyName' saved [9563]

anisha@linux-uitj:~/test> ls
dummyName

Last edited by Aquarius_Girl; 10-19-2010 at 05:51 AM.
 
Old 10-19-2010, 07:22 AM   #125
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
Code:
2010-10-19 10:04:01 (29.0 KB/s) - `dummyName' saved [9563]  anisha@linux-uitj:~/test> ls dummyName
Which means to me that if I HAD LOOKED at the code ending when I had
downloaded that file it would have told me under what name it had been
saved.
I don't follow all of this, but I think I get the idea.

It's early where you are but its sleep time here. So I'll say sleep well and
prosper

Kindest regards Des
 
Old 10-19-2010, 07:28 AM   #126
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by Desdd57 View Post
I don't follow all of this
What part of that post have you not understood ?

I have written it in a layman's language so that it is easy for you to understand and thus use it accordingly.

Read the bolded and colored text twice, then speak up what you have not understood.

wget is a foolproof tool and can come very handy if you know how to use it properly.
 
Old 10-19-2010, 02:53 PM   #127
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
Yes! you are quite right, I just haven't looked at it properly. The reason being I had thought the post was intentioned as a part question yet fact for unSpawn Therefore I will now look at it more closely and if I have specific questions I will address them to this thread.
 
Old 10-20-2010, 02:35 AM   #128
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by Desdd57 View Post
The reason being I had thought the post was intentioned as a part question yet fact for unSpawn
unSpawn doesn't need lessons from mortals like us
 
Old 10-20-2010, 06:05 AM   #129
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
I think I understand your code now -

I've just noticed that my 1st post sat by itself for 4 weeks before you came across it - so actually it took 3 weeks to work through the problem not 7 weeks as I have stated in a previous post. You were right in renaming the thread and my comments about titles in another thread you helped out in - were totally incorrect. I hate being wrong, but what I hate even more is not admitting it when one is wrong :-/
 
Old 10-20-2010, 06:37 AM   #130
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by Desdd57 View Post
I think I understand your code now -
I didn't write code anywhere.

What gets directly executed on the terminal is called a command.
Example:
Code:
anisha@linux-uitj:~> ls -la
Code is something which we write (mostly in a text editor) and then compile it using some command.
Following is an example of a C code written in a file named helloo.c
Code:
#include <stdio.h>
int main ()
{
  int x = 10;
  return 0;
}
and to compile it I use a command named gcc:
Code:
anisha@linux-uitj:~> gcc helloo.c
If you call a command, code, repeatedly, people may not understand what you are talking about !

Like you said in the other post of yours that you have tried all codes I wrote for gparted...I couldn't make out which codes you were referring to, since I had not written any !

Later I realized that you were referring to website links as codes :-/
 
1 members found this post helpful.
Old 10-20-2010, 09:02 AM   #131
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
Point taken and understood: Not very bright I'm afraid, I've been known to get peoples names wrong as well

But I think I am following your command structure OK, and the reasons for it. I'll lay it out line line for you shortly, so you can make sure I have it right.
 
Old 10-24-2010, 06:48 AM   #132
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
[QUOTE=anishakaul;4133401]

[/CODE]and to compile it I use a command named gcc:
Code:
anisha@linux-uitj:~> gcc helloo.c
If you call a command, code, repeatedly, people may not understand what you are talking about !

Why then do we encase it in a frame and label the frame with the word "code" as above ?

Des
 
Old 10-24-2010, 07:05 AM   #133
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Like why do we call a floor cleaner a Hoover ?... or a computer system a box ?... etc,etc,etc,etc. Linux assumes you are smart. LOL
 
Old 10-24-2010, 07:35 AM   #134
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by Desdd57 View Post
Why then do we encase it in a frame and label the frame with the word "code" as above ?
Because the owner of the site has perhaps decided that CODE tags are sufficient to enclose codes, commands, outputs, warning/error messages etc. and left it to the users to refer to the same using some discretion on their own.

and I don't have any problems neither I am concerned with whichever way you choose to refer to things. I thought it was my duty to make you aware of LQ atticates that's why I wrote the above post. I think this thread has reached its end now.
 
Old 10-24-2010, 09:24 AM   #135
Desdd57
Member
 
Registered: Feb 2010
Location: Brisbane - Australia
Distribution: Ubuntu 10,4
Posts: 151

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by anishakaul View Post
Because the owner of the site has perhaps decided that CODE tags are sufficient to enclose codes, commands, outputs, warning/error messages etc. and left it to the users to refer to the same using some discretion on their own.

and I don't have any problems neither I am concerned with whichever way you choose to refer to things. I thought it was my duty to make you aware of LQ atticates that's why I wrote the above post. I think this thread has reached its end now.
OUCH! I had already answered that I understood what you meant and that I would in future use the word commands This was only an afterthought question, which you have explained well. It was good that you felt duty bound--- The End of this thread!
 
  


Reply

Tags
freezes, ubuntu, wget


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to download Mepis 3.3 from download sites listed by Grim322 rat74136 Linux - Newbie 10 06-03-2010 05:20 AM
kernel unable re-read partition table on disks when i start gparted penduleum Fedora 6 04-20-2010 06:56 AM
Unable To Download VLC Media Player From Download Page(s) clb48 Linux - Newbie 5 03-15-2010 05:42 PM
Unable To Download VLC Media Player From Download Page(s) clb48 Linux - Newbie 1 03-15-2010 02:46 PM
Unable to download RH 8.0 chamkila Linux - General 5 10-12-2002 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration