Hi!
Im a first year student at a university of applied sciences and im currently enrolled in a course that teaches the basics of using ubuntu.
We have now started bash scripting and i am totally lost on my latest assignment.
Basically im supposed to make a script that reads a .txt file and creates a group,adds all of the users in the file and places them into the group i just made "grupp".
Ive struggled with the awk command and for loops but i havent gotten anywhere close to being right. So i am hoping some of you could help me?
Heres the text from the file:
Jonny Karlsson,karlssoj,larare
Sven Svensson,svenssoj,student
Lisa Lisasson,lisassoj,student
Mia Miasson,miassoj,larare
Sune Sunesson,sunessoj,student
Bookmarks