How To Display Folder Only in Bash Using ls command?
Today I give you three ways to display folder only in bash using ls command. Here’s the demonstration: Step 1: Using echo saggi@saggi-A6200:~/Desktop$ echo */ Metasploit And Backtrack Videos/ password crack/ saggifoldear/ Untitled Folder Step 2: Using ls only. saggi@saggi-A6200:~/Desktop$ ls -d */ Metasploit And Backtrack Videos/ saggifoldear/ password crack/ Untitled Folder/ Step 3: Using ls and grep . saggi@saggi-A6200:~/Desktop$ ls -l | grep “^d” drwx—— 9 saggi saggi 4096 Mar 15 22:48 Metasploit…