How do I pipe a newline seperated list as arguments to another command? – askubuntu.com

So I have a list of usernames such as: user1 user2 user3 I want to apply id on each of them and get something like: uid=100(user1) gid=5(g1) groups=5(g1),6(g6),7(g10) . . How can I achieve this? ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How do I pipe a newline seperated list as arguments to another command? – askubuntu.com"