Skip to main content
Rollback to Revision 1
Source Link
Stéphane Chazelas
  • 584.5k
  • 96
  • 1.1k
  • 1.7k

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • whereiswhere is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • whereis is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • where is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?

added 2 characters in body
Source Link
dr_
  • 32.4k
  • 22
  • 102
  • 147

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • wherewhereis is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • where is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • whereis is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?

Source Link
Stéphane Chazelas
  • 584.5k
  • 96
  • 1.1k
  • 1.7k

which was a csh command (well a csh script that read your ~/.cshrc), whence was the Korn shell's answer to csh's which, type the Bourne shell one, command -v/V the POSIX one...

zsh implements ksh's whence with a few extensions, but also provides a which alias for the csh junkies and type/command -v/V for POSIX compliance which are just the same command but with different default behaviour.

  • which is whence -c (c for csh)
  • type is whence -v (more verbose whence)
  • where is whence -ca
  • POSIX command -v is like whence
  • POSIX command -V is like whence -v

You'll find some more information (though in a bit of a messy way, sorry) at Why not use "which"? What to use then?