shell: add llw - ls a file in the PATH

This commit is contained in:
PowerUser64 2023-06-23 03:25:22 -07:00
parent 51ab57646f
commit 10b8e58a79

View file

@ -0,0 +1,12 @@
#!/bin/sh
# llw - "ls -l which"
# used to find information on one or more binaries in the PATH
# usage:
# llw bash firefox BespokeSynth
llw() {
until [ $# = 0 ]; do
ls -l "$(which "$1")"
shift
done
}