How to find all the available tools in macOS terminal? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Should an RSS feed of hot network questions feed any chat room(s) here?Looking for the ultimate IDE for MacHow to migrate my Mac OS X application and data from MacBook Pro to Mac Mini?Automating terminals at startupTerminal bash commands stopped workingpython version 2.7.8 can't run /usr/bin/easy_install. Try the alternative(s):How to access web dev servers running on localhost with non-standard ports from the network?List All Files in USB device from /Volumes Shell ScriptIs there an easy way to list CLI tools installed on macOS?Is it possible to make a folder look and behave like a file?Is there a list of pre-installed command-line tools for macOS?
Did Kevin spill real chili?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
Disable hyphenation for an entire paragraph
ListPlot join points by nearest neighbor rather than order
I am not a queen, who am I?
Is there a documented rationale why the House Ways and Means chairman can demand tax info?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
How to recreate this effect in Photoshop?
What are the pros and cons of Aerospike nosecones?
List *all* the tuples!
How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?
How do I keep my slimes from escaping their pens?
Did Xerox really develop the first LAN?
Proof involving the spectral radius and the Jordan canonical form
Output the ŋarâþ crîþ alphabet song without using (m)any letters
What is this single-engine low-wing propeller plane?
Models of set theory where not every set can be linearly ordered
Single word antonym of "flightless"
Is there any avatar supposed to be born between the death of Krishna and the birth of Kalki?
How to do this path/lattice with tikz
When to stop saving and start investing?
Can a non-EU citizen traveling with me come with me through the EU passport line?
How much radiation do nuclear physics experiments expose researchers to nowadays?
Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?
How to find all the available tools in macOS terminal?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Should an RSS feed of hot network questions feed any chat room(s) here?Looking for the ultimate IDE for MacHow to migrate my Mac OS X application and data from MacBook Pro to Mac Mini?Automating terminals at startupTerminal bash commands stopped workingpython version 2.7.8 can't run /usr/bin/easy_install. Try the alternative(s):How to access web dev servers running on localhost with non-standard ports from the network?List All Files in USB device from /Volumes Shell ScriptIs there an easy way to list CLI tools installed on macOS?Is it possible to make a folder look and behave like a file?Is there a list of pre-installed command-line tools for macOS?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to setup a bunch of development projects in my Mac. I have to run various tools like python, ruby, scala, groovy etc.
To see if a tool is available I use options like
ruby --version.
Instead I would like to see all the list of tools available in Mac terminal via a single command.
Are there commands for listing some or all shell programs?
macos terminal iterm
add a comment |
I am trying to setup a bunch of development projects in my Mac. I have to run various tools like python, ruby, scala, groovy etc.
To see if a tool is available I use options like
ruby --version.
Instead I would like to see all the list of tools available in Mac terminal via a single command.
Are there commands for listing some or all shell programs?
macos terminal iterm
The list will be more overwhelming than informative. On macOS 10.14.4, I see 1,302 executables in /bin, /sbin, /usr/bin, and /usr/sbin. Most of them obscure and/or single-purpose. For instance:hpftodit
, which converts fonts from HP tagged font metric (TFM) format for use with an HP Laser-Jet 4-series (or newer) printer withgroff -Tlj4
. Ok, that's an extreme example, I claim the point is still valid.
– Gordon Davisson
1 hour ago
add a comment |
I am trying to setup a bunch of development projects in my Mac. I have to run various tools like python, ruby, scala, groovy etc.
To see if a tool is available I use options like
ruby --version.
Instead I would like to see all the list of tools available in Mac terminal via a single command.
Are there commands for listing some or all shell programs?
macos terminal iterm
I am trying to setup a bunch of development projects in my Mac. I have to run various tools like python, ruby, scala, groovy etc.
To see if a tool is available I use options like
ruby --version.
Instead I would like to see all the list of tools available in Mac terminal via a single command.
Are there commands for listing some or all shell programs?
macos terminal iterm
macos terminal iterm
edited 7 hours ago
bmike♦
162k46291633
162k46291633
asked 10 hours ago
Spear A1Spear A1
412
412
The list will be more overwhelming than informative. On macOS 10.14.4, I see 1,302 executables in /bin, /sbin, /usr/bin, and /usr/sbin. Most of them obscure and/or single-purpose. For instance:hpftodit
, which converts fonts from HP tagged font metric (TFM) format for use with an HP Laser-Jet 4-series (or newer) printer withgroff -Tlj4
. Ok, that's an extreme example, I claim the point is still valid.
– Gordon Davisson
1 hour ago
add a comment |
The list will be more overwhelming than informative. On macOS 10.14.4, I see 1,302 executables in /bin, /sbin, /usr/bin, and /usr/sbin. Most of them obscure and/or single-purpose. For instance:hpftodit
, which converts fonts from HP tagged font metric (TFM) format for use with an HP Laser-Jet 4-series (or newer) printer withgroff -Tlj4
. Ok, that's an extreme example, I claim the point is still valid.
– Gordon Davisson
1 hour ago
The list will be more overwhelming than informative. On macOS 10.14.4, I see 1,302 executables in /bin, /sbin, /usr/bin, and /usr/sbin. Most of them obscure and/or single-purpose. For instance:
hpftodit
, which converts fonts from HP tagged font metric (TFM) format for use with an HP Laser-Jet 4-series (or newer) printer with groff -Tlj4
. Ok, that's an extreme example, I claim the point is still valid.– Gordon Davisson
1 hour ago
The list will be more overwhelming than informative. On macOS 10.14.4, I see 1,302 executables in /bin, /sbin, /usr/bin, and /usr/sbin. Most of them obscure and/or single-purpose. For instance:
hpftodit
, which converts fonts from HP tagged font metric (TFM) format for use with an HP Laser-Jet 4-series (or newer) printer with groff -Tlj4
. Ok, that's an extreme example, I claim the point is still valid.– Gordon Davisson
1 hour ago
add a comment |
3 Answers
3
active
oldest
votes
See the answers from this U&L Q&A titled:
List all commands that a shell knows
.
My personal favorite is to utilize compgen
since this is part of the family of tools used to build all the tab completion when you're in a terminal and hit tab> + tab twice.
$ compgen -c
Example
$ compgen -c | tail
deepcopy-gen
kube-controller-manager
informer-gen
lister-gen
etcd
gen-apidocs
kube-apiserver
kubectl
kubebuilder
conversion-gen
Incidentally, if you want to know where one of these executables lives on your HDD use type -a <cmd>
to find it:
$ type -a ansible
ansible is aliased to `ANSIBLE_CONFIG=~/.ansible.cfg ansible'
ansible is /usr/local/bin/ansible
This shows that the command ansible
is an alias and also lives locally on the HDD here: /usr/local/bin/ansible
.
References
- 8.7 Programmable Completion Builtins
add a comment |
The easiest is simply to open the Terminal and then press the TAB key twice. You'll be asked if you want to see all possibilities - reply "y" and you'll get the full list.
add a comment |
You could take the PATH variable and tr
anslate the colons into spaces then list the files in those directories.
ls $(tr ':' ' ' <<<"$PATH")
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
See the answers from this U&L Q&A titled:
List all commands that a shell knows
.
My personal favorite is to utilize compgen
since this is part of the family of tools used to build all the tab completion when you're in a terminal and hit tab> + tab twice.
$ compgen -c
Example
$ compgen -c | tail
deepcopy-gen
kube-controller-manager
informer-gen
lister-gen
etcd
gen-apidocs
kube-apiserver
kubectl
kubebuilder
conversion-gen
Incidentally, if you want to know where one of these executables lives on your HDD use type -a <cmd>
to find it:
$ type -a ansible
ansible is aliased to `ANSIBLE_CONFIG=~/.ansible.cfg ansible'
ansible is /usr/local/bin/ansible
This shows that the command ansible
is an alias and also lives locally on the HDD here: /usr/local/bin/ansible
.
References
- 8.7 Programmable Completion Builtins
add a comment |
See the answers from this U&L Q&A titled:
List all commands that a shell knows
.
My personal favorite is to utilize compgen
since this is part of the family of tools used to build all the tab completion when you're in a terminal and hit tab> + tab twice.
$ compgen -c
Example
$ compgen -c | tail
deepcopy-gen
kube-controller-manager
informer-gen
lister-gen
etcd
gen-apidocs
kube-apiserver
kubectl
kubebuilder
conversion-gen
Incidentally, if you want to know where one of these executables lives on your HDD use type -a <cmd>
to find it:
$ type -a ansible
ansible is aliased to `ANSIBLE_CONFIG=~/.ansible.cfg ansible'
ansible is /usr/local/bin/ansible
This shows that the command ansible
is an alias and also lives locally on the HDD here: /usr/local/bin/ansible
.
References
- 8.7 Programmable Completion Builtins
add a comment |
See the answers from this U&L Q&A titled:
List all commands that a shell knows
.
My personal favorite is to utilize compgen
since this is part of the family of tools used to build all the tab completion when you're in a terminal and hit tab> + tab twice.
$ compgen -c
Example
$ compgen -c | tail
deepcopy-gen
kube-controller-manager
informer-gen
lister-gen
etcd
gen-apidocs
kube-apiserver
kubectl
kubebuilder
conversion-gen
Incidentally, if you want to know where one of these executables lives on your HDD use type -a <cmd>
to find it:
$ type -a ansible
ansible is aliased to `ANSIBLE_CONFIG=~/.ansible.cfg ansible'
ansible is /usr/local/bin/ansible
This shows that the command ansible
is an alias and also lives locally on the HDD here: /usr/local/bin/ansible
.
References
- 8.7 Programmable Completion Builtins
See the answers from this U&L Q&A titled:
List all commands that a shell knows
.
My personal favorite is to utilize compgen
since this is part of the family of tools used to build all the tab completion when you're in a terminal and hit tab> + tab twice.
$ compgen -c
Example
$ compgen -c | tail
deepcopy-gen
kube-controller-manager
informer-gen
lister-gen
etcd
gen-apidocs
kube-apiserver
kubectl
kubebuilder
conversion-gen
Incidentally, if you want to know where one of these executables lives on your HDD use type -a <cmd>
to find it:
$ type -a ansible
ansible is aliased to `ANSIBLE_CONFIG=~/.ansible.cfg ansible'
ansible is /usr/local/bin/ansible
This shows that the command ansible
is an alias and also lives locally on the HDD here: /usr/local/bin/ansible
.
References
- 8.7 Programmable Completion Builtins
edited 8 hours ago
answered 10 hours ago
slmslm
856614
856614
add a comment |
add a comment |
The easiest is simply to open the Terminal and then press the TAB key twice. You'll be asked if you want to see all possibilities - reply "y" and you'll get the full list.
add a comment |
The easiest is simply to open the Terminal and then press the TAB key twice. You'll be asked if you want to see all possibilities - reply "y" and you'll get the full list.
add a comment |
The easiest is simply to open the Terminal and then press the TAB key twice. You'll be asked if you want to see all possibilities - reply "y" and you'll get the full list.
The easiest is simply to open the Terminal and then press the TAB key twice. You'll be asked if you want to see all possibilities - reply "y" and you'll get the full list.
answered 10 hours ago
jksoegaardjksoegaard
20.7k12150
20.7k12150
add a comment |
add a comment |
You could take the PATH variable and tr
anslate the colons into spaces then list the files in those directories.
ls $(tr ':' ' ' <<<"$PATH")
add a comment |
You could take the PATH variable and tr
anslate the colons into spaces then list the files in those directories.
ls $(tr ':' ' ' <<<"$PATH")
add a comment |
You could take the PATH variable and tr
anslate the colons into spaces then list the files in those directories.
ls $(tr ':' ' ' <<<"$PATH")
You could take the PATH variable and tr
anslate the colons into spaces then list the files in those directories.
ls $(tr ':' ' ' <<<"$PATH")
answered 10 hours ago
fd0fd0
6,45511431
6,45511431
add a comment |
add a comment |
The list will be more overwhelming than informative. On macOS 10.14.4, I see 1,302 executables in /bin, /sbin, /usr/bin, and /usr/sbin. Most of them obscure and/or single-purpose. For instance:
hpftodit
, which converts fonts from HP tagged font metric (TFM) format for use with an HP Laser-Jet 4-series (or newer) printer withgroff -Tlj4
. Ok, that's an extreme example, I claim the point is still valid.– Gordon Davisson
1 hour ago