Logo 
Search:

Unix / Linux / Ubuntu Articles

Submit Article
Home » Articles » Unix / Linux / Ubuntu » Homework HelpRSS Feeds

Shell script that prints names of all sub-directories present in the current directory

Posted By: Molly Brown     Category: Unix / Linux / Ubuntu     Views: 26593

Write a shell script that prints names of all sub-directories present in the current directory

Code for Shell script that prints names of all sub-directories present in the current directory in Unix / Linux / Ubuntu

ls -F1 | grep /
  
Share: 



Molly Brown
Molly Brown author of Shell script that prints names of all sub-directories present in the current directory is from London, United Kingdom.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!