Answer the question
In order to leave comments, you need to log in
How to add commas to output?
Good day!
Please tell me how to correctly add a command in bash in order to get a list of groups, of which $USER is a member, separated by commas without spaces.
Now I receive
groups $USER
test everyone netac com.app
#команда
root,admin,master,nours,boca
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question