Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu get list of folders one per line

ls -l | grep "^d" | tr -s ' ' | cut -d ' ' -f 9
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #list #folders #line
ADD COMMENT
Topic
Name
1+3 =