linux - Why doesn't

linux - Why doesn't "cd" work in a bash shell script? - Stack Overflow

瀏覽:1463
日期:2026-04-21
Is it worth noting that on MS-DOS, the behaviour of scripts was that a called script could change the directory (and even drive) of the calling command shell? And that Unix does not have this defect? – Jonathan Leffler Nov 4 '08 at 23:08...看更多