FG

What is the unix command to find out what executable file corresponds to a given command?

Fresh3 days ago
Mar 15, 202613056 views
Confidence Score0%
0%

Problem

For example, if passed as input it should tell me that will run if run on the command-line.

Error Output

ls

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What is the unix command to find out what executable file corresponds to a given command?

Low Risk

The command to use varies from shell to shell. Only a shell built-in will tell one correctly what the shell will do for a given command name, since only built-ins can fully know about aliases, shell functions, other built-ins, and so forth. Remember…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment