LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2004, 12:36 PM   #1
wogga
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
$prompt (newbie question)


Sometimes when i type in a command at the $ prompt, nothing happens and i am presented with a new line with no $ prompt.

what is the machine doing and how do i get out of that state?
 
Old 05-31-2004, 12:40 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
$ = normal user with no admin rights
# = root or the super user or admin

It seems that you are trying to run commands as a user that should be run as root.

Try this:
Code:
[username@localhost username]$ 
Password: type in the root password
[username@localhost username]#
Then type in the command again
 
Old 05-31-2004, 12:55 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Its when bash or the shell is expecting something else.. just ctrl-c to get out of it in most cases.
 
Old 05-31-2004, 01:00 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
or type exit.

(Looks like I misread the original post)
 
Old 05-31-2004, 03:04 PM   #5
wogga
Member
 
Registered: Apr 2004
Posts: 82

Original Poster
Rep: Reputation: 15
Hey Xavier
how do i go into admin mode.
i did not understand how to type in the code that you pasted
Code:
[username@localhost username]$ 
Password: type in the root password
[username@localhost username]#
when i hit return, all i get is
[tigger@localhost tigger$
tigger being me
 
Old 05-31-2004, 03:08 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Pah - I obviously need help with copying and pasting.

The command after the prompt should have been su, then follow the remainder as I wrote it. Also type (as a user) man su for other options.
 
Old 05-31-2004, 03:50 PM   #7
wogga
Member
 
Registered: Apr 2004
Posts: 82

Original Poster
Rep: Reputation: 15
works like a charm
thanks dude
 
Old 05-31-2004, 03:53 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
No problem
 
  


Reply



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
linux prompt(really newbie question) blackzone Linux - Newbie 5 08-05-2004 12:37 AM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM
prompt question, this is very noob dexter_modem Linux - Newbie 1 11-13-2003 10:06 AM
Question about bash prompt sangjin Linux - Newbie 2 07-30-2003 02:08 AM
Bash Prompt Question ghight *BSD 6 01-31-2003 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 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