Files and finding
routinepar 1 commandFind every text file
List every .txt file anywhere below the current directory, one per line.
Goal
0 / 1 commands
List every .txt file anywhere under the current directory, one per line.
- ·Uses
find
$
| Mode | Links | Size | Name |
|---|---|---|---|
| drwxr-xr-x | 3 | scratch/ | |
| -rw-r--r-- | 1 | 36 | a.txt |
| drwxr-xr-x | 3 | inbox/ | |
| -rw-r--r-- | 1 | 29 | b.txt |
| -rw-r--r-- | 1 | 31 | c.log |
| drwxr-xr-x | 2 | deep/ | |
| -rw-r--r-- | 1 | 33 | d.txt |
| -rwxr-xr-x | 1 | 18 | script.sh |
| -rw-r--r-- | 1 | 35 | top.txt |