Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The prompt for many (or maybe all??) shells can be configured to look like that. the '$' is the default in Bash shell for a non-root user, while a '#' is the default for a root-user.
There's a very good chance you saw Bash shell, but it could have been another. The prompt is usually initially set in /etc/profile..
When I was first trying out dozens of Linux distros, the default shell for one of them was in that exact format with the brackets and spacing and all of that, and it was like that by default.
Ok.. As I said, it was probably Bash. That's the default shell on LOADS of Linuxes, and its default prompt is like you indicated. Normally, it's something like:
Bash-3.1~$ somecommand
Does this help? Maybe explaining what you're getting at, will help me or someone answer you more specifically. Like, are you trying to figure out what Linux it was, or are you looking to install that particular shell in a Linux?
We'd need to know which distro that was. As GrapefruiTgirl pointed out, any shell can be altered to look like that, and the distro writers/maintainers have that ability.
OK, I understand.
While there is a built-in prompt specification for most or all shells, that one you showed doesn't look like an unchanged default to me. Probably the distro maintainer, or the user running the machine, changed it to look like that. It is quite configurable; you can include the date, username, machine name, time, and colors, to mention a few. You could if you wanted, make it look EXACTLY like that, including the word "blah" in the brackets
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.