I run following series of commands to bring curser under the prompt on shell terminal.
$ NL=' # << press enter
' # << press enter again
$ PS1=${PS1}${NL}
I've to do this every time I login. How can I automate it? I tried add these same statements in ~/.profile
and restarted. No luck.
EDIT:
Here's how I did it. I added following (my favorite bash prompt) line in ~/.bashrc
(I created it).
export PS1="===================\n\n\d \A \u@\H [\w]\n\\$ \[$(tput sgr0)\]"