Welcome to the Linux Foundation Forum!

Chapter 2 /bin page wrong example output

Hi all,

I just wanted to report a slight mistake in the example command.

The example in the lesson is:

But when I run it in CentOS Linux release 7.9.2009 I get this output:

To get the exact same output as in the course I need to run ls -F /bin/ with a trailing slash:

Comments

  • fcioanca
    fcioanca Posts: 2,179

    @vkouk 1 Using the same command with different Linux distributions, or distribution versions, may result in slightly different outputs. Or commands may be slightly different on different distributions. The example provided in the course is an output of the command run on Ubuntu.

  • coop
    coop Posts: 916

    It will also depend tremendously on what is installed on the system. Evertytime you add a new package (or remove one) the contents of these directories change

  • @fcioanca said:
    @vkouk 1 Using the same command with different Linux distributions, or distribution versions, may result in slightly different outputs. Or commands may be slightly different on different distributions. The example provided in the course is an output of the command run on Ubuntu.

    This makes sense, just wanted to see if the output was wrong. Thanks a lot for the clarification @fcioanca

Categories

Upcoming Training