What does 'ls -l */' do?

The command ls -l */ lists all directories in the current directory, displaying detailed information about each one.

Here's a breakdown of the command:

  • ls: This is the command to list files and directories.
  • -l: This option provides a long listing format, which includes details such as permissions, number of links, owner, group, size, and modification date.
  • */: The asterisk (*) is a wildcard that matches all items, and the trailing slash (/) specifies that only directories should be included in the listing.

So, the output will show detailed information for each directory in the current location.

0 Comments

no data
Be the first to share your comment!