You are not logged in.

#1 2008-10-11 15:33:52

roeleman
Member
Registered: 2007-11-09
Posts: 46

Where is chdir?

Hello there,

I need the command 'chdir' for one of my scripts but it seems like the 'chdir' command is not available on my arch install.  Can somebody tell me wich package contains the 'chdir' command?

Thanks.

Offline

#2 2008-10-11 15:46:19

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Where is chdir?

roeleman wrote:

Hello there,

I need the command 'chdir' for one of my scripts but it seems like the 'chdir' command is not available on my arch install.  Can somebody tell me wich package contains the 'chdir' command?

Thanks.

Hi, I dont think there is a stock chdir bash shell command. There is a 'chdir' 'C' system call (man chdir).

Probably you could use the bash 'cd' builtin, or if it should be doing something special, write a function.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2008-10-11 15:59:48

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Where is chdir?

Zsh does have a chdir command, but cd does the same thing.


(lambda ())

Offline

Board footer

Powered by FluxBB