|
|
Subscribe / Log in / New account

Debian's which hunt

Debian's which hunt

Posted Oct 29, 2021 5:42 UTC (Fri) by nilsmeyer (guest, #122604)
In reply to: Debian's which hunt by ncm
Parent article: Debian's which hunt

> Yes, this is the first time I have encountered "command -v". How are we supposed to have heard of it? Who decided it should be the real Posixy thing, and "which" not?

Also first time I heard it, and glad I did because now I can once more considered to be competent in the eyes of Clint Adams.

I'm now wondering how much of what I use in my day to day shell use are builtins vs. dedicated programs (I'm using zsh). `which` in zsh is at least explicit about what's builtin, e.g.:
zsh:~ $ command -v command
command
zsh:~ $ which command
command: shell built-in command


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds