Linux

From www.wiki.chlamdb.ch
Revision as of 10:07, 9 October 2018 by Tpillone (talk | contribs)
Jump to navigation Jump to search

user/groups

create group and add users to the group

sudo groupadd metagenlab

  1. a: append
  2. G: group

sudo usermod -a -G <group> <user>


  • group file conf
 1/etc/group
 2<syntaxhighlight>
 3
 4<syntaxhighlight lang="Python" line='line'>
 5def quickSort(arr):
 6	less = []
 7	pivotList = []
 8	more = []
 9	if len(arr) <= 1:
10		return arr
11	else:
12		pass