Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    export PS1=% ?? Commented May 3, 2017 at 13:51
  • @RomanGräf, what's that? Commented May 3, 2017 at 13:58
  • 1
    You can change the normal $ sign using export PS1=... where ... is the replacement. Commented May 3, 2017 at 13:59
  • @Roman Gräf: You can actually do a whole lot more with the prompt than just change the character. Mine includes the machine name (since I often have xterm windows into other machines) and the last few directories in the current path. And if I'm root, it becomes bright red. Commented May 4, 2017 at 5:29