Is there an official resource for all Linux commands?

Hello Friends

Just being curious:

Question

  • Is there an official (re)source where is list it all the categories of commands with their respective set of commands?

Something like Linux Foundation for Filesystem Hierarchy Standard FHS

I did do a research on Google with the linux types of commands search term but appears few information. But at the top from AI Overview is shared as follows:

...

Navigation: 
cd: Changes the current working directory.
pwd: Displays the full path of the current working directory.

...

Networking: 
ping: Sends ICMP echo requests to check network connectivity.
ssh: Provides secure shell access to remote machines.
wget: Downloads files from the web.
curl: Transfers data using URLs.

...

Thanks in advance

1 Like

The official documentation is the man pages
If you dont know the command name needed, you can use man -k <topic>
If you go to the directory where man pages are kept, you can see all the commands with ls.
There are several groups of man pages… called man1 … man8
man1 is normal commands
man5 is config files
man8 is superuser commands
Afaik there is no command to make a list, but you could easily write a script to make a list. Would be an interesting bash or python or ruby challenge.
man -k . will do some sort of a list

6 Likes

Thanks for the feedback …

But a most specific categories … network, files, security, permissions etc … and each one with the set of commands.

1 Like

man -k network

I wonder what you get if you ask GPT for a list of categorized linux commands?

4 Likes

Ok it may not be a total guide of every command but I use the following book

Linux Pocket Guide, 4th Edition[Book].

By one of our community members daniel j barrett

5 Likes

Really O’Reilly :slightly_smiling_face:
I’ve added that to my Amazon liste to include with my next purchase :+1:

1 Like

Dont tell Daniel but i have a older copy of the book version 3 which is still on my desk, there are so many notes it it dont want to replace it. Its worn out used it so many times would not ge without it

3 Likes

Manuel, I am curious: what would you use this list for? (It would contain tens of thousands of commands.) Do you just want to read through it? Would you use it as a reference to find commands of a certain type? Were you looking for a specific command recently and couldn’t find one? Something else? I’m just wondering what problem you’re trying to solve with a gigantic list. Maybe there’s a better solution than a list.

5 Likes

Hi all, :waving_hand:

like @callpaul.eu I often use a book too.
Being written in German it seems it´s of limited interest to our community though.

But I still wanted to mention it (for any German speaking members).
It´s written by Michael Kofler, who seems to be a pretty prominent author in the German-language Linux community.

The book came with a CD, so I can use it on my Linux Lite PC as well.

The book follows the structure described. It should come close to what Manuel is looking for. But in German. :neutral_face:

There has to be something like that in English, too.
It´s just that I don´t know of any title that would fit the description. Sorry.

Many greetings from Rosika :slightly_smiling_face:

3 Likes

Please dont be offended by my question over language, but are the linux command written in english when you drop to command line ?

I ask because I work mainly with french speakers on french linux systems when I go to command line and do update (for example) everything passes in french so OUI NON etc… that caught me out as I tried Y to a question instead of O and did not understand why it did not work till I read the message again. I tend to not read the words and think of language more do you want to do this so yes. Catches me out if its a negative in another language.

To read a technical book, I am not capable in other languages.

3 Likes

some equally so in English :rofl:

3 Likes

@callpaul.eu :

Hi Paul, :waving_hand:

I´m not offended in the least. Please don´t worry.

Hmm, I´m not quite sure I completely understand. :thinking:
The commands are written the way we all know them. They should be in English. :wink:

Let me provide you with two example pages from the book. The explanatory text is in German but the commands are in English:

  1. part of the contents section:

  1. example for command description:

When using the command line on my Linux Lite system the following varies to some extent:
Sometimes I need to enter “Y” for “yes” if asked if I wish to continue. So the English language is active in these cases.
Other packages are installed using the German language layout, so I´d have to enter “J” for “ja”.
It varies to some extent, but it doesn´t seem to bother me much. I just go along with what´s offered to me.

Many greetings from Rosika :slightly_smiling_face:

3 Likes

This is my bible when I come to written docs.

5 Likes

I like the OpenGroup as a reference for standard Unix/Linux commands. The Open Group Base Specifications Issue 8 It does include function information and not just command line programs, but you can go through the alphabetic index and find basic Unix commands such as ls and grep. It gives information on what options the command needs to have to meet POSIX or other standards. I also use a utility program’s man page, but this is the reference I use when I want to know exactly how a command or utility program is supposed to work.

3 Likes

I can understand you wanting that if you are programming, and need to comply to standards.
For general CLI use, I think the man pages are usually enough. The GNU info system is an absolute nuisance.

1 Like

Not official but we have a very extensive collection of Linux commands and their practical examples organized into categories:

8 Likes

Its the J, O, Y i follow no problem

But if you do fdisk at command line do you get something like this

Disk /dev/sdb: 489.05 GiB, 525112713216 bytes, 1025610768 sectors
Disk model: Crucial_CT525MX3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 214CD305-8D57-49C3-A244-B232E66D2141

Or are the words in german for disklabel type didsk identifier etc ?

No the german book would not be for me, nor a french one need english to understand fully

2 Likes

I think the Open Group specs go more in depth then the man page if you’re trying to understand the exact functionality of the utility and how it does what it does. The man pages are useful for seeing exactly which command options a program offers since this can vary depending on the implementation of the utility (whether it’s a GNU version or derived from a BSD version, etc.).

4 Likes

For those who want to check this out, go to Laura’s link

Then you need to choose ‘Shell and Utilities’, and then Utilities.
You get a list of utilities, and if you choose, say ‘cat’ you get an enhanced man page with lots of examples and explanations.

I think this is very useful, Thank you @Laura_Michaels

2 Likes

Lets list them again

  • File management commands
  • User and group msnagement commands
  • Disk management commands
  • Process management commands
  • Networking commands

You need to have a CLI commands section on your FOSS home page.

7 Likes