Who has not ever wanted to know all the commands that exist in our system?
Well, here is one more who had this curiosity ... and of course I like to share, I share how to list all the commands available in the system 😉
compgen -c
Ready, this will be enough 😀
In the terminal all the available commands will be shown, if you wish you can save these commands in a text file to review it calmly:
compgen -c >> comandos.txt
Like, you can see with the parameter -a all alias:
compgen -c
Anyway ... this is something extremely simple, but I hope it will be useful for you 😉
regards
PD: See compgen help (help compgen) for more options.
Thank you, it was very useful.
compgen -c | more
😉
Yes true, you could still use less:
compgen -c | less
: )
Alphabetically:
compgen -c | sort | less
😀
O_o 3018 commands
compgen -c | toilet -l
3212
: )
compgen -c | toilet -l
5191
compgen -c | toilet -l
3346
compgen -c | toilet -l
2824
compgen -c | toilet -l
2558
By the way now that I see your email ... if you want (for example): scalibur@user.desdelinux.net it's all yours 🙂
compgen -c | toilet -l
2957
:3
compgen -c | toilet -l
4004
on Fedora 18 Just installed
Woo that is high ... I have 2869 in the kubuntu of work, and that is the gadget.
compgen -c | toilet -l
23367
… I think I have too many things: p
I accept! ... how is it done?
PS: why can't I reply to some comments from admins? .. ee
I contact you by email 😀
And it is not that you cannot respond to certain comments, but simply the maximum number of nested comments is reached (5 if I remember correctly) and voila, so that the comment appears at the bottom, give answer to the last one that you leave and that's it
It would be nice if you could also make a small MAN summary for each command, even in English, because most of them don't know why they exist and I'm not going to guggle one by one.
It would be interesting to go through all the man pages of all the commands with a single command and pass them to pdf as in an old post.
Not all commands have man, but if you still want it
http://paste.desdelinux.net/4712
: )
Thank you!! I'm testing it, a little slow but it seems to work.
And you were right, I am getting several commands in the terminal that have no man but it doesn't matter.
THANK YOU SO MUCH 😀
Works 10 🙂 🙂
Ahhhh fuck, now I do have something to read in my spare time. Thank you very much for your answer 😀
Man's pdf's are created without content, all of these weigh 2,2 kb, so we can easily delete them with
http://paste.desdelinux.net/4715
Run it when you finish creating the pdf's
To erase the gaps
regards
Very useful and interesting. But I wonder, are they just internal bash commands?
I ask this because there are no commands like cancel in the list (it is used to delete the job queue that is sent to the printer).
Easier still.
We open a terminal and press the «TAB» key twice.
Result (In my case): Display all 1530 possibilities? (and or n)
If we do it as root user, it will also show us all the exclusive root commands.
In my case: Display all 1821 possibilities? (and or n)
LINUX -> IS THE MAXIMUM UNION IN THE WORLD
IF ALL THE DISTRIBUTIONS OF «LINUX» IN THE WORLD COME TOGETHER TO REMOVE A SINGLE POWERFUL LINUX, IT WOULD FAIL THE IMPERIALIST DOMAIN OF MICROSOFT AND THE VIRUSES WILL DIE IT WILL BE FULL FREEDOM IN THE COMPUTER ...
God United with Good Positive Purpose Nobody Lo My Sold
@ mabm1paz: all distributions join? Better not, thank you. Diversity and competition is precisely what has allowed Linux to reach its current quality, and it will surely continue to improve.
I just tried it and I have found several commands that I did not know they were but that are quite curious, one of them is the snake, it appears by simply typing snake, another is a kind of written role-playing game (in English), write battlestar, it is curious.
Very interesting thanks 😀
compgen -c | toilet -l
2676
With double tab
Display all 2636 possibilities? (and or n)
3811
Use Arch and OpenBox, I do not understand, better return to Ubuntu, ok, XD no
It is not the same as pressing:
Tab 2 times?