[solved] how to list commands provided by default in linux?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[solved] how to list commands provided by default in linux?

Postby Jin Choi on Mon Mar 25, 2013 12:03 pm

Hello :wink:
1. Do you know any means, or command, to list all CUI commands that are provided by default in your distro? That will presumably contain 'ls', 'rm', 'cp' and ...so on. I reminded that there are lots of documents in /usr/share/doc directory. So I checked if that should do with what I'm looking for, but there was no any document for 'ls' or 'cp' or whatnot.

2. Who decide what comands are included in distros by default when others not? I check man pages for 'ls', 'rm', 'od', 'paste', so on and it says, the it's core-utiles. It totally makes sense to me. They are essential. However, 'xxd' is installed by default while 'traceroute' isn't. So, in what standard and by whom is this process goes?

3. And, isn't all the GUI command comes with the kernel, right? So, shouldn't every CUI command be the same, right? No...?

4. So, what are these docs from /usr/share/doc for? Are they by any chance only for those packages I installed manually?

Thank you.
Last edited by Jin Choi on Mon Mar 25, 2013 9:37 pm, edited 1 time in total.
Jin Choi
Level 1
Level 1
 
Posts: 18
Joined: Fri Mar 22, 2013 2:52 am

Linux Mint is funded by ads and donations.
 

Re: Do you know every commands provided by default in linux?

Postby xenopeek on Mon Mar 25, 2013 12:41 pm

1. We tackled that earlier, you can use the whatis command to query all CUI commands. Example here: viewtopic.php?f=58&t=103728#p587364

2. The Linux Mint developers select what packages are installed by default by the Linux Mint installer. You can suggest additions to the default, using the ideas module on the Community site. Of course you can already install it yourself, and not all programs will be included in the default installer (size constraints both of the ISO image, the download users would have to do, and the needed disk space) so it helps to motivate why something should be included. "I like it" is a bit short :wink: Help the developers see why other users (not you) would use this program and for what out of the box usage it should be installed by default instead of being something the users would install themselves.

3. The kernel is just the kernel. Most of the commands you name and refer to are GNU programs, and come from other packages.

4. /usr/share/doc is the place where documents of a package are placed. Like changelogs and readme files. Manpages are in /usr/share/man.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14505
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Do you know every commands provided by default in linux?

Postby Jin Choi on Mon Mar 25, 2013 9:36 pm

Thank you so much xenopeek :)
Every single answer of yours is perfect!
Jin Choi
Level 1
Level 1
 
Posts: 18
Joined: Fri Mar 22, 2013 2:52 am


Return to Newbie Questions

Who is online

Users browsing this forum: Google [Bot], Mute Ant and 42 guests