Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
basic unix question?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
love2u
n00b
n00b


Joined: 28 May 2009
Posts: 15

PostPosted: Fri May 24, 2013 6:01 am    Post subject: basic unix question? Reply with quote

Hai there,

I have a hold up in the quick install method on my IBM P4 thinkpad. Pushing the enter button
after the text echo 'hostname="myhostname" > hostname the following occurs:
>
>
>
I think I need to know the command to get out of this repeating signs an will be back in
the chroot environment?
Tia,
Back to top
View user's profile Send private message
renegart
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2012
Posts: 122

PostPosted: Fri May 24, 2013 6:02 am    Post subject: Reply with quote

ctrl-C
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 669

PostPosted: Fri May 24, 2013 8:04 am    Post subject: Re: basic unix question? Reply with quote

love2u wrote:
...
Pushing the enter button
after the text echo 'hostname="myhostname" > hostname the following occurs:
>
>
..,

You have an unmatched single quote (') in the command:
Code:
echo 'hostname="myhostname" > hostname

so the command line shell is collecting more lines of text to complete the command. The command will be complete when it gets the matching single quote. However, that command won't be what you want, so type Ctrl+C to cancel the command. What you wanted was
Code:
echo 'hostname="myhostname"' > hostname

(there's a single quote after the double quote at the end of myhostname.
_________________
Greybeard
Back to top
View user's profile Send private message
love2u
n00b
n00b


Joined: 28 May 2009
Posts: 15

PostPosted: Fri May 24, 2013 2:36 pm    Post subject: Very helpfull Reply with quote

Thank you both renegart and Goverp for the quick answers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum