<p>This is similar to <a href="https://stackoverflow.com/questions/105212/linux-recursively-list-all-files-in-a-directory-including-files-in-symlink-dire">this question</a>, but I want to include the path relative to the current directory in unix. If I do the following:</p>

<pre><code>ls -LR | grep .txt
</code></pre>

<p>It doesn't include the full paths. For example, I have the following directory structure:</p>

<pre><code>test1/file.txt
test2/file1.txt
test2/file2.txt
</code></pre>

<p>The code above will return:</p>

<pre><code>file.txt
file1.txt
file2.txt
</code></pre>

<p>How can I get it to include the paths relative to the current directory using standard Unix commands?</p>

Try
```
find
```
. You can look it up exactly in the man page, but it's sorta like this:
```
find [start directory] -name [what to find]
```
so for your example
```
find . -name "*.txt"
```
should give you what you want.