> go to directory (here DistSys) in which you have to find no. of files and folders
>now run ls command and pipe it's output to command " wc -l "
cd DistSys
then
ls | wc -l
which gives a number say 11 ,which means directory DistSys contains 11 files or folders.
No comments:
Post a Comment