What does the command 'ls -l .' do?

QuestionsQuestions8 SkillsProData Stream RedirectionNov, 28 2025
0129

The command ls -l . lists the contents of the current directory (.) in a detailed format. Here's a breakdown of the components:

  • ls: This is the command used to list directory contents.
  • -l: This option stands for "long format" and provides detailed information about each file and directory, including permissions, number of links, owner, group, size, and the last modified date and time.
  • .: This represents the current directory.

So, when you run ls -l ., you will see a detailed list of all files and directories in the current directory.

0 Comments

no data
Be the first to share your comment!