How to restrict Find only search the current directory?

hello, all

I have googled internet, read the man page of Find, searched this forum, but still could not figure out how.

My current directory is:

little@wenwen:~$ pwd
/home/little
little@wenwen:~$ 

I want to use find command to list the files in my current directory, how should i write the find command? thank you very much.

For GNU find use -maxdepth

find . -maxdepth 1 -name "*.txt"

If you do not have GNU find use -prune

find . \( -type d ! -name . -prune \) -o \( -type f -name "*.txt" -print \)
find . -name . -o -prune -print
find . \! -name . -prune -print

GNU find further takes:

find . -mindepth 1 -maxdepth 1 -print

Thank you very much; both codes work great!