Changes

Jump to navigation Jump to search
208 bytes added ,  18:45, 18 June 2014
Line 280: Line 280:  
  ‘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)
 +
====Replace a chain of characters====
 +
Replace a chain of characters chaine1 by chaine2 in all files of the current directory with '.txt'
    +
find . -name "*.txt" -type f -exec sed -i "s/chaine1/chaine2/g" {} \;
    
====Check file system in case of corruption====
 
====Check file system in case of corruption====

Navigation menu