Home>

Regarding the title, if you execute ls in the following environment, the value will be returned as sudo.
What does this mean?

environment
Windows10 1909
[email protected]

ls
>sudo

Normally, I thought that the directory * under root would be displayed.

* I was wondering if the bin and boot of the following path would be displayed.
C: \ Users \ AppData \ Local \ Packages \ CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc \ LocalState \ rootfs

Also, try to check what is under sudo as follows
I typed it, but it just returns with sudo.

ls sudo
>sudo

Am I misunderstanding something?

  • Answer # 1

    I'm misunderstanding
    Since ls is a command to display a file list, it displays that there is a file/directory called sudo.

    If sudo is a directory
    ls sudo /
    And that Nakami comes out

  • Answer # 2

    Hello.
    There is a directory called sudo in the current directory, and it may have been displayed.
    You can check the current directory with the pwd command.
    You can refer to the optional parameters of the ls command here.