dear friend
if you want to create directory list in same directory
then use the following command :
ls -lF |grep '/' > mfile
if you want to create directory list in sub directory
then use the following command :
ls -lFR |grep '/' > mfile
if you want to create file list in same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.