bash prompts

Florian Diesch diesch at spamfence.net
Sat Jan 20 23:47:10 UTC 2007


"Michael V. De Palatis" <mvd at gatech.edu> wrote:

> user at host:/current/working/directory
> [nn]$ 
>
> where "nn" is the current command number (unnecessary, but can
> occasionally be useful). Additionally, there is an extra newline
> between the last command output and the "user at ...". What I want to
> add, however, is yet another newline between my command and the
> command's output, e.g.,
>
> user at host:/current/working/directory
> [nn]$ run_some_command
>
> First line of output
> Second line of output
>
> I have so far not been able to find out how to do this. Any ideas?

I think it's impossible as the prompt after the " [nn]$"




   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list