SyntaxFix
Write A Post
Hire A Developer
Questions
An alternative to type -a is command -V
type -a
command -V
Since most of the times I am interested in the first result only, I also pipe from head. This way the screen will not flood with code in case of a bash function.
command -V lshw | head -n1