Changes

From SME Server
Jump to navigationJump to search
240 bytes added ,  19:00, 10 December 2014
Line 327: Line 327:  
  ‘M’    for Megabytes (units of 1048576 bytes)
 
  ‘M’    for Megabytes (units of 1048576 bytes)
 
  ‘G’    for Gigabytes (units of 1073741824 bytes)
 
  ‘G’    for Gigabytes (units of 1073741824 bytes)
 +
 +
===how many data the server is storing by users
 +
 +
You can adapt that command line to your needs, here we find and sort all emails stored by your users
 +
du -s /home/e-smith/files/users/*/Maildir | sort -rn | cut -f2- | xargs -d "\n" du -sh
 +
 
====Replace a chain of characters====
 
====Replace a chain of characters====
 
Replace a chain of characters chaine1 by chaine2 in all files of the current directory with '.txt'
 
Replace a chain of characters chaine1 by chaine2 in all files of the current directory with '.txt'

Navigation menu