Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

my problem is in my account on ubuntu 13.10 when i open terminal the cursor is something like that "$"

not something like that root@yunus-ubuntu:~# or yunus@yunus-ubuntu:~#

why it is happening i created this account from another admin user typing this

sudo useradd -d /home/yunus -m yunus....passwd yunus.....etc.

i just wanted i clean account but there is a problem of terminal problem.. what is that "$" that not leting me doing anything....i apriciate if you give detailed explanation...do i have to root login or is there any way of to get rid of this nonsense startup...

thanks in advance

share|improve this question

marked as duplicate by steeldriver, karel, Avinash Raj, Radu Rădeanu May 22 at 8:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
In addition to answers: You can read this for detailed information about root access in Ubuntu. –  c0rp Feb 26 at 11:19

2 Answers 2

Try the below command,

sudo -i

It will allow you to login as root.

And your command prompt will changed to,

root@yunus-ubuntu:~#
share|improve this answer

It is all right.By default, in Ubuntu you do not have root access.So any admins terminal looks like

aditya@aditya-desktop:~$ 

To get root access, you can run few commands, for example

sudo su

Or

sudo bash

NOTE:- Generally there is no need of a root terminal, you can execute any command which requires root access by adding sudo at the start, such as sudo <command>.

share|improve this answer
    
thank you very much....login root access is succesfull... i can handle root login with smthng like this ________root@yunus-ubuntu:~# but i cant see this____________yunus@yunus-ubuntu:~# in my terminal there is only one character______________$ how can i see this without being root__________yunus@yunus-ubuntu:~# thankss............ –  user252515 Feb 26 at 14:58
    
@user252515 # is shown only when you are root, otherwise a $ is shown. –  Registered User Feb 27 at 6:43
    
yeah i write is wrong so that what i wanted to see yunus@yunus-ubuntu:~$ but i cant. The problem is with "$" even i can't use history commands thats why i am after "yunus@yunus-ubuntu:~$"...... –  user252515 Feb 28 at 8:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.