Find the answer to your Linux question:
Results 1 to 2 of 2
I would like to create a bash script that creates a single group from all users in other groups. I've been at it most of the day, and I think ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87

    Create single group from all other groups?

    I would like to create a bash script that creates a single group from all users in other groups.

    I've been at it most of the day, and I think I'm making it too complicated. I have about 100 lines of code, and it's still now working the way I would like. I'm starting to trip over my own feet with the amount of if statements and variables.

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    Quote Originally Posted by pauhn View Post
    I have about 100 lines of code, and it's still now working the way I would like.
    Hello

    Please post your code so that someone can have a look at it and point out any errors.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...