On 04/17/2012 05:46 PM, Darrell Anderson wrote: > Well, I was going to ask how in jumping blue blazes you stumbled across those typos.... > > Yet I'm curious about one of the tips. Does $PS1 actually place the directory in the konsole window title? I thought $PROMPT_COMMAND had to be used to accomplish that (which is what I have used for many years). Is that tip technically correct? > > Darrell Your environment has several prompts (up to 6 I think) PS1 - your main prompt PS2 - secondary prompt ... and so on. PS1 is simply the environment variable name. I've always enjoyed having a useful prompt: http://www.ibm.com/developerworks/linux/library/l-tip-prompt/ The one I like for keeping me on time is: PS1='\[\e[0;37m\]\A\[\e[1;34m\] \[\e[1;34m\]\h:\w> \[\e[0m\]' I use a variation for 'root' PS1="\[\e[1;34m\][\[\e[1;31m\]\A \[\e[1;34m\]\h\[\e[0;31m\]:\w\[\e[1;34m\]] # \[\e[0m\]" When you use a prompt that provides hostname/path info, eg: nirvana:/srv/http/dl/dt/tde> Then to ftp, sftp, rsync, etc... files between hosts, I just select the prompt and I've already got the source or destination. I.e.: rsync -uai nirvana:/srv/http/dl/dt/tde . -- David C. Rankin, J.D.,P.E.