In Linux, if you have an executable, whose directory location is in the PATH env variable, what command lets you know what its full executable PATH is (e.g. that ls is /bin/ls)?
Answer
which ls
Question
In Linux, if you have an executable, whose directory location is in the PATH env variable, what command lets you know what its full executable PATH is (e.g. that ls is /bin/ls)?
Answer
?
Question
In Linux, if you have an executable, whose directory location is in the PATH env variable, what command lets you know what its full executable PATH is (e.g. that ls is /bin/ls)?
Answer
which ls
If you want to change selection, open document below and click on "Move attachment"
4. Basic Commands H . [This is more often true of Solaris systems than LINUX.] Typing which <command> locates the one that your shell would execute. Try: which ls which cp mv rm which which which cranzgots <span>which is also useful in shell scripts to tell if there is a command at all, and hence check whether a particular package is installed, for example, which netscape . 4.19 The -- Option If a fi
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.