How do I perform a file search and listing the contents?



  • Also see: Man page for find.

    This could be a long list, terminate the output using Ctrl-C

    This is a good feature as it combines the find and ls information.

    $ find -ls
       237398      9 drwxrwxr-x   3 trainer  trainer         8 Nov 14 11:45 .
       237412      1 -rw-rw-r--   1 trainer  trainer         0 Nov 14 11:45 ./int
       237410      1 -rw-rw-r--   1 trainer  trainer         0 Nov 14 11:44 ./.filed
       237404      1 -rw-rw-r--   1 trainer  trainer         0 Nov 14 11:44 ./filea
       237408      1 -rw-rw-r--   1 trainer  trainer         0 Nov 14 11:44 ./.filec
       237402      1 drwxrwxr-x   2 trainer  trainer         3 Nov 14 11:45 ./test
       237414      1 -rw-rw-r--   1 trainer  trainer         0 Nov 14 11:45 ./test/perf
       237406      1 -rw-rw-r--   1 trainer  trainer         0 Nov 14 11:44 ./fileb
    


© Lightnetics 2022