If we are using ls -lrt , which will display all the files and directories with user permission, group permission size etc. But if we have a directory with a lot of files and sub directories, then we can use the below command to display only directories under a directory
ls -lrt|grep ^d
ls -lrt|grep ^d
No comments:
Post a Comment