Celeb Glow
updates | March 13, 2026

Is there any way to find all open directories using linux command

i want to list all open directories for my linux based device. Plase any one tell that how to list all open directories in linux other than lsof commands, becase my device not support lsof command

1

1 Answer

lsof on Linux gathers file information from /proc, where each process' file descriptors are visible in its fd/ subdirectory. To see all of them at once:

ls -ln /proc/*/fd/*

Optionally you can filter through | grep -- "-> /" to exclude sockets and other non-file objects.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy