What does `ll -a` do?

QuestionsQuestions8 SkillsProBasic Files OperationsSep, 09 2025
097

The command ll -a is typically an alias for ls -la in a Bash shell. Here's what it does:

  • ls: Lists files and directories.
  • -l: Provides a detailed listing, showing permissions, number of links, owner, group, size, and modification date.
  • -a: Includes all files, even hidden ones (those starting with a dot).

Example Output:

drwxr-xr-x  5 username username 4096 Oct  1 12:00 .
drwxr-xr-x  3 username username 4096 Sep 30 11:00 ..
-rw-r--r--  1 username username    0 Oct  1 12:00 .hiddenfile
-rw-r--r--  1 username username  123 Oct  1 12:00 file.txt

This command is useful for viewing all contents of a directory, including hidden files, in a detailed format. If you have more questions, let me know!

0 Comments

no data
Be the first to share your comment!