Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.misc Subject: Re: programming Date: 5 Jul 1996 14:17:44 -0500 Organization: Coverform Ltd. Lines: 22 Message-ID: <4rjpoo$hp@anorak.coverform.lan> References: <31DC7155.41C67EA6@vnet.net> NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Edwin Burley (khan@vnet.net) wrote: : I am trying to learn how-to-do stuff differently... [stuff deleted] : What I am looking for is how do I call cd in the program : so then /bin will be placed in in front of the : cd and goto it.......does this make since..... No, but it makes a certain amount of sense. "man chdir" is what you're looking for. But remember, the current directory is local to a process. If you write a program that calls chdir(), when the program exits you'll be right back in the directory you started in. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....