Question
In linux, how do you get list of all python files in current directory, and all subdirectories under current directory (i.e. all files ending in the .py file extension)

find . -name '*.py'

^^ note the use of -name flag

^^^ note the use the shell pattern *.py (note this is globbing not regex syntax).

^^^^ note the pattern is provided within single quotes, if it was full name of file, then you don't need the quotes but for patterns you do

Question
In linux, how do you get list of all python files in current directory, and all subdirectories under current directory (i.e. all files ending in the .py file extension)
?

Question
In linux, how do you get list of all python files in current directory, and all subdirectories under current directory (i.e. all files ending in the .py file extension)

find . -name '*.py'

^^ note the use of -name flag

^^^ note the use the shell pattern *.py (note this is globbing not regex syntax).

^^^^ note the pattern is provided within single quotes, if it was full name of file, then you don't need the quotes but for patterns you do

If you want to change selection, open document below and click on "Move attachment"

p 1 wait \$DIG_PID ) 2>/dev/null | grep -q '^[^;]*netscape.com' && break done 20.7.5 Recursive grep (search) Recursively searching through a directory tree can be done easily with the <span>find and xargs commands. You should consult both these man pages. The following command pipe searches through the kernel source for anything about the pcnet'' Ethernet card, printing also

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions