Forrest logo
back to the ls tool

ls:ai:a3c1f

Lists files in the current directory and filters out directories
$ ls -p | grep -v /
try on your machine

Lists files in the current directory and filters out directories

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • How do I list files without directories ?
back to the ls tool