I had to look this up since I switched from CentOS to Arch about two months ago... It looks like there is a package in CentOS's yum repo called which: http://mirror.centos.org/centos/5.5/os/i386/CentOS/which-2.16-7.i386.rpm
So, you should just be able to sudo yum install which. On Tue, Mar 15, 2011 at 12:20 PM, Rob Ludwick <[email protected]> wrote: > Or go install busybox and replace the broken executables with "busybox > which" for example. > > But brfore you do that make sure your path var isn't mangled, and that if > you are using bashisms in your shell you are explicitly calling bash and not > sh from the hashbang. > > Jonathan Bartels <[email protected]> wrote: > > >I am trying to do some maintenance work on a CentOS system. I'm using > >a script that expects exotic exectuables to exist, things as rare and > >uncommon as `which`. > > > >Is there a simple, easy way to get such basic tools installed on > >CentOS? I wasn't able to easily identify a core package that had that > >executable in it. > > > >-- > >----- > >Jonathan Bartels > > > >_______________________________________________ > >Fwlug mailing list > >[email protected] > >http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org > > > >This is a public list and all posts are archived publicly. Please keep > this in mind before posting. > _______________________________________________ > Fwlug mailing list > [email protected] > http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org > > This is a public list and all posts are archived publicly. Please keep this > in mind before posting. > -- Matt Mayers [email protected] http://mattmayers.com/
_______________________________________________ Fwlug mailing list [email protected] http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org This is a public list and all posts are archived publicly. Please keep this in mind before posting.
