is there a way to look for all commands in CentOS












1















Is it possible to look for all commands in CentOS? like a command lists all commands so I could use grep to filter what I am looking for? There are commands like firewall-cmd sometimes you remember key words but not the whole.










share|improve this question



























    1















    Is it possible to look for all commands in CentOS? like a command lists all commands so I could use grep to filter what I am looking for? There are commands like firewall-cmd sometimes you remember key words but not the whole.










    share|improve this question

























      1












      1








      1








      Is it possible to look for all commands in CentOS? like a command lists all commands so I could use grep to filter what I am looking for? There are commands like firewall-cmd sometimes you remember key words but not the whole.










      share|improve this question














      Is it possible to look for all commands in CentOS? like a command lists all commands so I could use grep to filter what I am looking for? There are commands like firewall-cmd sometimes you remember key words but not the whole.







      shell






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 13 at 7:00









      TiinaTiina

      6271614




      6271614






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Is it possible to look for all commands in CentOS?




          lists all commands so I could use grep to filter what I am looking for?




          That is what apropos is for.




          apropos - search the manual page names and descriptions




          ...




          Each manual page has a short description available within it.
          apropos searches the descriptions for instances of keyword.



          keyword is usually a regular expression, as if (-r) was used, or may
          contain wildcards (-w), or match the exact keyword (-e). Using these
          options, it may be necessary to quote the keyword or escape () the
          special characters to stop the shell from interpreting them.



          The standard matching rules allow matches to be made against the page
          name and word boundaries in the description.



          The database searched by apropos is updated by the mandb program.
          Depending on your installation, this may be run by a periodic cron
          job, or may need to be run manually after new manual pages have been
          installed.




          Source apropos(1) - Linux manual page



          Examples:




          The following example demonstrates the output of the apropos command
          with an regexp keyword (abc.n) and a regular keyword:



          $ apropos abc.n xzless
          XTestGrabControl (3) - XTest extension functions
          xzless (1) - view xz or lzma compressed (text) files


          In this example, apropos is used to search for the keywords (with an
          regexp .) "abc.n" and xzless, and apropos returns the indicated man
          pages that include the keywords.




          Source apropos (Unix) - Wikipedia






          share|improve this answer
























          • very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

            – Tiina
            Jan 14 at 6:38





















          0














          You can use your PATH variable and list content of all folders in it



          `LIST = ""



          for i in $(echo $PATH | tr ":") do
          FOLDER = ls -a $i
          LIST = "$LIST $FOLDER"
          done
          echo $LIST`






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393694%2fis-there-a-way-to-look-for-all-commands-in-centos%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Is it possible to look for all commands in CentOS?




            lists all commands so I could use grep to filter what I am looking for?




            That is what apropos is for.




            apropos - search the manual page names and descriptions




            ...




            Each manual page has a short description available within it.
            apropos searches the descriptions for instances of keyword.



            keyword is usually a regular expression, as if (-r) was used, or may
            contain wildcards (-w), or match the exact keyword (-e). Using these
            options, it may be necessary to quote the keyword or escape () the
            special characters to stop the shell from interpreting them.



            The standard matching rules allow matches to be made against the page
            name and word boundaries in the description.



            The database searched by apropos is updated by the mandb program.
            Depending on your installation, this may be run by a periodic cron
            job, or may need to be run manually after new manual pages have been
            installed.




            Source apropos(1) - Linux manual page



            Examples:




            The following example demonstrates the output of the apropos command
            with an regexp keyword (abc.n) and a regular keyword:



            $ apropos abc.n xzless
            XTestGrabControl (3) - XTest extension functions
            xzless (1) - view xz or lzma compressed (text) files


            In this example, apropos is used to search for the keywords (with an
            regexp .) "abc.n" and xzless, and apropos returns the indicated man
            pages that include the keywords.




            Source apropos (Unix) - Wikipedia






            share|improve this answer
























            • very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

              – Tiina
              Jan 14 at 6:38


















            2














            Is it possible to look for all commands in CentOS?




            lists all commands so I could use grep to filter what I am looking for?




            That is what apropos is for.




            apropos - search the manual page names and descriptions




            ...




            Each manual page has a short description available within it.
            apropos searches the descriptions for instances of keyword.



            keyword is usually a regular expression, as if (-r) was used, or may
            contain wildcards (-w), or match the exact keyword (-e). Using these
            options, it may be necessary to quote the keyword or escape () the
            special characters to stop the shell from interpreting them.



            The standard matching rules allow matches to be made against the page
            name and word boundaries in the description.



            The database searched by apropos is updated by the mandb program.
            Depending on your installation, this may be run by a periodic cron
            job, or may need to be run manually after new manual pages have been
            installed.




            Source apropos(1) - Linux manual page



            Examples:




            The following example demonstrates the output of the apropos command
            with an regexp keyword (abc.n) and a regular keyword:



            $ apropos abc.n xzless
            XTestGrabControl (3) - XTest extension functions
            xzless (1) - view xz or lzma compressed (text) files


            In this example, apropos is used to search for the keywords (with an
            regexp .) "abc.n" and xzless, and apropos returns the indicated man
            pages that include the keywords.




            Source apropos (Unix) - Wikipedia






            share|improve this answer
























            • very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

              – Tiina
              Jan 14 at 6:38
















            2












            2








            2







            Is it possible to look for all commands in CentOS?




            lists all commands so I could use grep to filter what I am looking for?




            That is what apropos is for.




            apropos - search the manual page names and descriptions




            ...




            Each manual page has a short description available within it.
            apropos searches the descriptions for instances of keyword.



            keyword is usually a regular expression, as if (-r) was used, or may
            contain wildcards (-w), or match the exact keyword (-e). Using these
            options, it may be necessary to quote the keyword or escape () the
            special characters to stop the shell from interpreting them.



            The standard matching rules allow matches to be made against the page
            name and word boundaries in the description.



            The database searched by apropos is updated by the mandb program.
            Depending on your installation, this may be run by a periodic cron
            job, or may need to be run manually after new manual pages have been
            installed.




            Source apropos(1) - Linux manual page



            Examples:




            The following example demonstrates the output of the apropos command
            with an regexp keyword (abc.n) and a regular keyword:



            $ apropos abc.n xzless
            XTestGrabControl (3) - XTest extension functions
            xzless (1) - view xz or lzma compressed (text) files


            In this example, apropos is used to search for the keywords (with an
            regexp .) "abc.n" and xzless, and apropos returns the indicated man
            pages that include the keywords.




            Source apropos (Unix) - Wikipedia






            share|improve this answer













            Is it possible to look for all commands in CentOS?




            lists all commands so I could use grep to filter what I am looking for?




            That is what apropos is for.




            apropos - search the manual page names and descriptions




            ...




            Each manual page has a short description available within it.
            apropos searches the descriptions for instances of keyword.



            keyword is usually a regular expression, as if (-r) was used, or may
            contain wildcards (-w), or match the exact keyword (-e). Using these
            options, it may be necessary to quote the keyword or escape () the
            special characters to stop the shell from interpreting them.



            The standard matching rules allow matches to be made against the page
            name and word boundaries in the description.



            The database searched by apropos is updated by the mandb program.
            Depending on your installation, this may be run by a periodic cron
            job, or may need to be run manually after new manual pages have been
            installed.




            Source apropos(1) - Linux manual page



            Examples:




            The following example demonstrates the output of the apropos command
            with an regexp keyword (abc.n) and a regular keyword:



            $ apropos abc.n xzless
            XTestGrabControl (3) - XTest extension functions
            xzless (1) - view xz or lzma compressed (text) files


            In this example, apropos is used to search for the keywords (with an
            regexp .) "abc.n" and xzless, and apropos returns the indicated man
            pages that include the keywords.




            Source apropos (Unix) - Wikipedia







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 13 at 9:23









            DavidPostillDavidPostill

            105k25228263




            105k25228263













            • very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

              – Tiina
              Jan 14 at 6:38





















            • very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

              – Tiina
              Jan 14 at 6:38



















            very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

            – Tiina
            Jan 14 at 6:38







            very handy and useful tool, wonder why it is called apropos. You mentioned manDB, I have never paid enough attention to man system. How it is stored, how it is used, now I am curious, gonna dig more

            – Tiina
            Jan 14 at 6:38















            0














            You can use your PATH variable and list content of all folders in it



            `LIST = ""



            for i in $(echo $PATH | tr ":") do
            FOLDER = ls -a $i
            LIST = "$LIST $FOLDER"
            done
            echo $LIST`






            share|improve this answer




























              0














              You can use your PATH variable and list content of all folders in it



              `LIST = ""



              for i in $(echo $PATH | tr ":") do
              FOLDER = ls -a $i
              LIST = "$LIST $FOLDER"
              done
              echo $LIST`






              share|improve this answer


























                0












                0








                0







                You can use your PATH variable and list content of all folders in it



                `LIST = ""



                for i in $(echo $PATH | tr ":") do
                FOLDER = ls -a $i
                LIST = "$LIST $FOLDER"
                done
                echo $LIST`






                share|improve this answer













                You can use your PATH variable and list content of all folders in it



                `LIST = ""



                for i in $(echo $PATH | tr ":") do
                FOLDER = ls -a $i
                LIST = "$LIST $FOLDER"
                done
                echo $LIST`







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 13 at 7:52









                Jáchym TomášekJáchym Tomášek

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393694%2fis-there-a-way-to-look-for-all-commands-in-centos%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...