[kanchilug] 1D1C - sg

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx, ilugd@xxxxxxxxxxxxxxxxxxxx
  • Date: Fri, 10 Feb 2023 06:00:00 +0530

sg - execute command as different group ID

To execute command as different group ID
$ sg group-name -c 'command'
$ sg dev-group -c 'sleep 100'
$ sg admin-group -c 'ping 8.8.8.8'



regards,
T.Dhanasekar

Other related posts:

  • » [kanchilug] 1D1C - sg - Dhanasekar