|
2010-01-08
, 18:46
|
Posts: 254 |
Thanked: 122 times |
Joined on Nov 2009
|
#152
|
|
2010-01-08
, 18:47
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#153
|
|
2010-01-08
, 19:04
|
Posts: 133 |
Thanked: 5 times |
Joined on Dec 2009
|
#154
|
Chico.. the >> /etc/hosts is supposed to be on the same line as the echo.
|
2010-01-08
, 19:09
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#155
|
|
2010-01-08
, 19:21
|
Posts: 133 |
Thanked: 5 times |
Joined on Dec 2009
|
#156
|
You've got an extra quote on that one - there's no quote between the IP address and the name.
You'll need to do a Ctrl-C to cancel out of the existing command first though.
|
2010-01-08
, 19:25
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#157
|
|
2010-01-08
, 19:29
|
Posts: 133 |
Thanked: 5 times |
Joined on Dec 2009
|
#158
|
That's fine - it's just that the screenshot you posted above shows it waiting for command completion (that's why the line is starting with a ">"). If you'd left the X terminal open, you'd need to cancel out of that first. If you closed that down and are opening a new X Terminal session then you're okay.
|
2010-01-08
, 19:34
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#159
|
cat /etc/hosts
|
2010-01-08
, 19:35
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#160
|
Well I typed it into xterminal and this is what i got:
Last edited by chicoelnino; 2010-01-08 at 18:05.