valerydolce has asked for the wisdom of the Perl Monks concerning the following question:
Hi All I'm trying to list all users' home directories from a linux host. All the directories are located in '/home.itvm' but the are additional home directories under a folder named DUMMIES, for example Dummy1, Dummy2
#Example /home.it20/user1 /home.it20/DUMMIES /home.it20/DUMMIES/Dummy1 /home.it20/DUMMIES/Dummy2
Please what is the regular expression that will allow me to match all these directories? Can we consider DUMMIES as a home directory ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: List all Users Directory
by hippo (Archbishop) on Dec 13, 2016 at 22:04 UTC | |
by choroba (Cardinal) on Dec 13, 2016 at 22:19 UTC | |
|
Re: List all Users Directory
by eyepopslikeamosquito (Archbishop) on Dec 14, 2016 at 07:46 UTC | |
|
Re: List all Users Directory
by kcott (Archbishop) on Dec 14, 2016 at 06:30 UTC | |
|
Re: List all Users Directory
by haukex (Archbishop) on Dec 15, 2016 at 10:02 UTC | |
|
Re: List all Users Directory
by Marshall (Canon) on Dec 14, 2016 at 21:22 UTC |