Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)

I want to know what the code below means:

What does the dollar bit mean?

 user@Linux-003 ~ $

1 Answer

0 votes
by (36.8k points)
edited by

Someone with the user name "user" has logged in to this machine with host name "Linux-003".

"~" - represent the home folder of the user, conventionally it would be /home/user/, where "user" is the user name can be anything like /home/johnsmith.

"$" - this is a sign of the shell prompt, which means that the shell is ready to accept commands, you can understand it as a separator after which, you can interact with a shell. Can also be "#" which shows that root is the user whose session is going on.

To know about Linux join the Linux training

Related questions

0 votes
1 answer
asked Dec 17, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...