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;








7















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?










share|improve this question
























  • 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

















7















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?










share|improve this question
























  • 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













7












7








7


1






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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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
















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










3 Answers
3






active

oldest

votes


















5














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





share|improve this answer
































    4














    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.






    share|improve this answer






























      2














      You could take the PATH variable and translate the colons into spaces then list the files in those directories.



      ls $(tr ':' ' ' <<<"$PATH") 





      share|improve this answer






























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        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





        share|improve this answer





























          5














          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





          share|improve this answer



























            5












            5








            5







            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





            share|improve this answer















            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






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 8 hours ago

























            answered 10 hours ago









            slmslm

            856614




            856614























                4














                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.






                share|improve this answer



























                  4














                  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.






                  share|improve this answer

























                    4












                    4








                    4







                    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.






                    share|improve this answer













                    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.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 10 hours ago









                    jksoegaardjksoegaard

                    20.7k12150




                    20.7k12150





















                        2














                        You could take the PATH variable and translate the colons into spaces then list the files in those directories.



                        ls $(tr ':' ' ' <<<"$PATH") 





                        share|improve this answer



























                          2














                          You could take the PATH variable and translate the colons into spaces then list the files in those directories.



                          ls $(tr ':' ' ' <<<"$PATH") 





                          share|improve this answer

























                            2












                            2








                            2







                            You could take the PATH variable and translate the colons into spaces then list the files in those directories.



                            ls $(tr ':' ' ' <<<"$PATH") 





                            share|improve this answer













                            You could take the PATH variable and translate the colons into spaces then list the files in those directories.



                            ls $(tr ':' ' ' <<<"$PATH") 






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 10 hours ago









                            fd0fd0

                            6,45511431




                            6,45511431













                                Popular posts from this blog

                                How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

                                Българска екзархия Съдържание История | Български екзарси | Вижте също | Външни препратки | Литература | Бележки | НавигацияУстав за управлението на българската екзархия. Цариград, 1870Слово на Ловешкия митрополит Иларион при откриването на Българския народен събор в Цариград на 23. II. 1870 г.Българската правда и гръцката кривда. От С. М. (= Софийски Мелетий). Цариград, 1872Предстоятели на Българската екзархияПодмененият ВеликденИнформационна агенция „Фокус“Димитър Ризов. Българите в техните исторически, етнографически и политически граници (Атлас съдържащ 40 карти). Berlin, Königliche Hoflithographie, Hof-Buch- und -Steindruckerei Wilhelm Greve, 1917Report of the International Commission to Inquire into the Causes and Conduct of the Balkan Wars

                                Чепеларе Съдържание География | История | Население | Спортни и природни забележителности | Културни и исторически обекти | Религии | Обществени институции | Известни личности | Редовни събития | Галерия | Източници | Литература | Външни препратки | Навигация41°43′23.99″ с. ш. 24°41′09.99″ и. д. / 41.723333° с. ш. 24.686111° и. д.*ЧепелареЧепеларски Linux fest 2002Начало на Зимен сезон 2005/06Национални хайдушки празници „Капитан Петко Войвода“Град ЧепелареЧепеларе – народният ски курортbgrod.orgwww.terranatura.hit.bgСправка за населението на гр. Исперих, общ. Исперих, обл. РазградМузей на родопския карстМузей на спорта и скитеЧепеларебългарскибългарскианглийскитукИстория на градаСки писти в ЧепелареВремето в ЧепелареРадио и телевизия в ЧепелареЧепеларе мами с родопски чар и добри пистиЕвтин туризъм и снежни атракции в ЧепелареМестоположениеИнформация и снимки от музея на родопския карст3D панорами от ЧепелареЧепелареррр