Difference between revisions of "Linux"

From www.wiki.chlamdb.ch
Jump to navigation Jump to search
Line 14: Line 14:
 
<syntaxhighlight lang="Bash" line='line'>
 
<syntaxhighlight lang="Bash" line='line'>
 
/etc/group
 
/etc/group
−
<syntaxhighlight>
+
</syntaxhighlight>
  
 
<syntaxhighlight lang="Python" line='line'>
 
<syntaxhighlight lang="Python" line='line'>

Revision as of 10:07, 9 October 2018

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
1def quickSort(arr):
2	less = []
3	pivotList = []
4	more = []
5	if len(arr) <= 1:
6		return arr
7	else:
8		pass