Changing the Bash prompt
export PS1="\n\u@\H>"
I tried the above example on Ubuntu 7.10.
Reference:
Tip: Prompt magic [ibm.com]
Bash Prompt HOWTO [tldp.org]
DZone Snippets > jrobertson > bash
11395 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
James Robertson http://www.r0bertson.co.uk
export PS1="\n\u@\H>"