I would like to know whether `rm` can remove all files within a directory (but not the subfolders or files within the subfolders)?

I know some people use:

```
rm -f /direcname/*.*

```

but this assumes the filename has an extension which not all do (I want all files - with or without an extension to be removed).