How to ls command to view directories only? I know linux is very customizable and every command can be used in conjunction with other commands to get the desired output ... So please help me...
How to ls command to view directories only? I know linux is very customizable and every command can be used in conjunction with other commands to get the desired output ... So please help me...
I hae never needed such kind of command, but you may need it, here is the command :
Code:ls -d *
There is one more :
Code:ls --directory *
One more so that makes it a total of three, posting all of those togather :
Have fun...Code:ls -d * ls --directory * ls -ldR *
Bookmarks