How to list all files in a directory (including subdirectories) in Linux

In this article we are going to learn how to list all files and symlink in a directory.

In general, we use ls to list all files in directory, It list files and folders in a current directory.

suppose if we want to list all files including sub directories, use ls with options L and R

syntax:

  • ls –LR
  • find –follow
SHARE

    Blogger Comment
    Facebook Comment

1 comments :