A cute trick for bash and xterm: I work with a lot of xterms. For years, I have been using pwd, cd, and mouse-cut-and-paste to copy the working directory from one window to another.
Now I have a better way, involving some aliases in .bashrc: alias sd='pwd > ~/.sd' alias ds='cd `cat ~/.sd`' I type 'sd' in the xterm I want to copy the working directory from, and 'ds' in the xterm that I want to copy the working directory to. It is actually secure - the backtick'ed cat feeds directly to cd, so even if .sd is corrupted somehow, it cannot execute arbitrary code. I use 'sd' and 'ds' because I am left handed; 'kl' and 'lk' might be easier for right handers, and I will humbly accept the honor of being immortalized in the initials. ;-) Keith -- Keith Lofstrom [EMAIL PROTECTED] Voice (503)-520-1993 KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon" Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
