How can I match username from username/ ?
How can I match username from username/ ?
I tried with sed to match [a-z]* but that didn't seem to work.
Any ideas?
IE.
ls /home/ | sed "s/[a-z]*//"
Actually that seemed to match it, but I want it, to output the username withouth the /
TIA
|