[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash: pipe once more



On Sun, Jul 13, 2008 at 20:22:24 +0200, Stefan Schmidt (Stefan.Schmidt@gmx.de) wrote: 

> if I pipe the output of a cd command the working directory doesn't change.

Hi Stefan

Assuming your cd command takes you to a valid directory, then there
seems to be no output to pipe...

> ,----
> | $ cd ~/bin 2>&1 | tee -a output.log; pwd
> | /home/stefan
> `----
> 
> How come and how can I get this to work?

Sorry, but I am not sure quite what you are trying to achieve.  Maybe I
am missing the point!

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


Reply to: